summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-06-27 16:19:30 (GMT)
committerArnd Bergmann <arnd@arndb.de>2011-06-27 17:45:40 (GMT)
commitfc5070b527b8243e9f4369e4e79ab431a5a1cb79 (patch)
treeec1e9101b33a5b516894f92f670e1c3124e7afc1
parentef7a474cef00594ccef432ce0840464e51ea4ac0 (diff)
downloadlinux-fc5070b527b8243e9f4369e4e79ab431a5a1cb79.tar.xz
mach-ux500: fix USB build error
The mach-ux500/usb.c was referencing DMA macros, but not including <linux/dma-mapping.h> so it didn't compile. Fixed by a proper #include. Cc: Arnd Bergmann <arnd@arndb.de> Cc: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--arch/arm/mach-ux500/usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/usb.c b/arch/arm/mach-ux500/usb.c
index 82e5359..0a01cbd 100644
--- a/arch/arm/mach-ux500/usb.c
+++ b/arch/arm/mach-ux500/usb.c
@@ -6,6 +6,7 @@
*/
#include <linux/platform_device.h>
#include <linux/usb/musb.h>
+#include <linux/dma-mapping.h>
#include <plat/ste_dma40.h>
#include <mach/hardware.h>
#include <mach/usb.h>