mach-ux500: fix USB build error
Subsystems (3)
PATCH 1/1 mach-ux500: fix USB build error
From: Linus Walleij <[email protected]>
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 <[email protected]>
Cc Mian Yousaf Kaukab <[email protected]>
Signed-off-by Linus Walleij <[email protected]>
---
Arnd: please merge this atop of the st-ericsson stuff in arm-soc so that the -next tree compiles when it get pulled in.
--- arch/arm/mach-ux500/usb.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-ux500/usb.c +1 -0
@@ -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>
Signature · 1 line
1.7.3.2
Arnd Bergmann
AppliedPATCH 1/1 mach-ux500: fix USB build error
Quoted 9 lines · On Monday 27 June 2011 18:19:30 Linus Walleij wrote:
From: Linus Walleij <[email protected]>
The
mach-ux500/usb.cwas referencing DMA macros, but not including <linux/dma-mapping.h> so it didn't compile. Fixed by a proper #include.Cc Arnd Bergmann <[email protected]>Cc Mian Yousaf Kaukab <[email protected]>Signed-off-by Linus Walleij <[email protected]>
Applied.
Thanks,
Arnd