[U-Boot] [PATCH 02/11] usb: dwc3: linux-compat: Fix: Adding missing include files

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


Added #includes are necessary to allow dwc3 to compile and run on u-boot
for Odroid XU3.

Signed-off-by: Lukasz Majewski <l.majewski at samsung.com>
---
 drivers/usb/dwc3/linux-compat.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/usb/dwc3/linux-compat.h b/drivers/usb/dwc3/linux-compat.h
index b36f68f..40470aa 100644
--- a/drivers/usb/dwc3/linux-compat.h
+++ b/drivers/usb/dwc3/linux-compat.h
@@ -12,6 +12,9 @@
 #ifndef __DWC3_LINUX_COMPAT__
 #define __DWC3_LINUX_COMPAT__
 
+#include <common.h>
+#include <linux/compat.h>
+
 #define pr_debug(format)                debug(format)
 #define WARN(val, format, arg...)	debug(format, ##arg)
 #define dev_WARN(dev, format, arg...)	debug(format, ##arg)
-- 
2.0.0.rc2



More information about the U-Boot mailing list