[U-Boot] [PATCH] usb: include <asm/cache.h> and <part.h> from include/usb.h

Masahiro Yamada yamada.m at jp.panasonic.com
Fri Nov 7 10:34:55 CET 2014


The header file include/usb.h references ARCH_DMA_MINALIGH and
block_dev_desc_t, thus it must include <asm/cache.h> and <part.h>.

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---

 include/usb.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/usb.h b/include/usb.h
index 9d0d04d..d3c7415 100644
--- a/include/usb.h
+++ b/include/usb.h
@@ -11,6 +11,8 @@
 
 #include <usb_defs.h>
 #include <linux/usb/ch9.h>
+#include <asm/cache.h>
+#include <part.h>
 
 /*
  * The EHCI spec says that we must align to at least 32 bytes.  However,
-- 
1.9.1



More information about the U-Boot mailing list