[U-Boot] [PATCH 3/5] USB: xHCI: Add header for readl/writel functions

Dan Murphy dmurphy at ti.com
Mon Aug 26 15:54:51 CEST 2013


Add the  asm/io.h header to resolve implicit declaration of
readl/writel

Signed-off-by: Dan Murphy <dmurphy at ti.com>
---
 drivers/usb/host/xhci.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 467afe0..91935f0 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -27,6 +27,8 @@
 #ifndef HOST_XHCI_H_
 #define HOST_XHCI_H_
 
+#include <asm/io.h>
+
 #include <asm/cache.h>
 #include <linux/list.h>
 
-- 
1.7.9.5



More information about the U-Boot mailing list