public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] usb: include <asm/cache.h> and <part.h> from include/usb.h
@ 2014-11-07  9:34 Masahiro Yamada
  2014-11-07 10:46 ` Marek Vasut
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2014-11-07  9:34 UTC (permalink / raw)
  To: u-boot

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@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-07 10:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-07  9:34 [U-Boot] [PATCH] usb: include <asm/cache.h> and <part.h> from include/usb.h Masahiro Yamada
2014-11-07 10:46 ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox