Skip to contentSkip to conversation

usb: include <asm/cache.h> and <part.h> from include/usb.h

PATCH New Masahiro Yamada 2 participants 2 messages Nov 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: include <asm/cache.h> and <part.h> from include/usb.h

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

---

 include/usb.h | 2 ++
 1 file changed, 2 insertions(+)
include/usb.h +2 -0
index 9d0d04d..d3c7415 100644
@@ -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,
Signature · 1 line
1.9.1
Applied
#1 lore raw

PATCH 1/1 usb: include <asm/cache.h> and <part.h> from include/usb.h

Quoted 2 lines · Masahiro Yamada

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

Applied, thanks!

Best regards,
Marek Vasut