[U-Boot] [PATCH 03/11] usb: dwc3: Add BIT() macro

Lukasz Majewski l.majewski at samsung.com
Mon Feb 23 15:02:24 CET 2015


From: Inha Song <ideal.song at samsung.com>

Signed-off-by: Inha Song <ideal.song at samsung.com>
---
 drivers/usb/dwc3/core.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index 3f8a4e9..3355468 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -392,6 +392,7 @@ struct dwc3_event_buffer {
 	unsigned int		count;
 	unsigned int		flags;
 
+#define BIT(x)			(1 << x)
 #define DWC3_EVENT_PENDING	BIT(0)
 
 	dma_addr_t		dma;
-- 
2.0.0.rc2



More information about the U-Boot mailing list