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
committerJason Liu <r64343@freescale.com>2012-07-20 13:14:21 +0800
commit1c5b416a4705faee39825e6ab0c39d5289747f9a (patch)
treeb27fc12413f511ea2bd6156dd1f28087cf22bae4 /arch/arm/mach-mx5
parentc6540757475f35b8ee39fdb370d7e8e23530fd5e (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);