diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2015-03-03 19:32:08 +0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-04-14 06:48:12 +0300 |
commit | 2252d150efac460dc2494a4a12505d366e645232 (patch) | |
tree | 64a2857b8097839f5562d3dacbc6faa01faa8116 /drivers/usb/dwc3/core.h | |
parent | 6d691732073f79138648fc6e8ad1569f7a2898a6 (diff) | |
download | u-boot-2252d150efac460dc2494a4a12505d366e645232.tar.xz |
usb: dwc3: Remove BIT(x) macro from DWC3's gadget code
The BIT() macro is used only in those places, so it is reasonable to
replace it by a constant value.
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r-- | drivers/usb/dwc3/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index c5debf7d28..5288a18c81 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -392,7 +392,7 @@ struct dwc3_event_buffer { unsigned int count; unsigned int flags; -#define DWC3_EVENT_PENDING BIT(0) +#define DWC3_EVENT_PENDING (1UL << 0) dma_addr_t dma; |