summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx5
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2011-07-08 08:49:53 +0800
committerJustin Waters <justin.waters@timesys.com>2012-07-03 16:53:30 -0400
commit757c7e0840e0f688bb04eaa9257fa9255ce2659f (patch)
tree0952c22729b623ad339eec3de9f54d31c6f974f3 /arch/arm/mach-mx5
parent38ba9e25381a512aa33709fef160b22b0da754b7 (diff)
ENGR00152842 mx5x-usb: fix build error
As well as some warnings for compiling Fix the build error reported by Alan Tull, the error message is: arch/arm/mach-mx5/usb_dr.c: In function 'mx5_usb_dr_init': arch/arm/mach-mx5/usb_dr.c:309: error: implicit declaration of function 'machine_is_mx53_loco' The below warning message output when compiling mx5x kenrel: arch/arm/plat-mxc/include/mach/arc_otg.h:36:7: warning: "CONFIG_ARCH_MX6" is not defined Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx5')
-rwxr-xr-xarch/arm/mach-mx5/usb_dr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/usb_dr.c b/arch/arm/mach-mx5/usb_dr.c
index 25e63caea945..36e9eac07624 100755
--- a/arch/arm/mach-mx5/usb_dr.c
+++ b/arch/arm/mach-mx5/usb_dr.c
@@ -19,6 +19,7 @@
#include <mach/arc_otg.h>
#include <mach/hardware.h>
#include <linux/delay.h>
+#include <asm/mach-types.h>
#include "usb.h"
static int usbotg_init_ext(struct platform_device *pdev);
static void usbotg_uninit_ext(struct platform_device *pdev);