]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm: fix implicit use of hardware.h in ehci-mxc.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 22:56:57 +0000 (18:56 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 2 Aug 2011 16:37:12 +0000 (12:37 -0400)
To fix this:

drivers/usb/host/ehci-mxc.c: In function 'ehci_mxc_drv_probe':
drivers/usb/host/ehci-mxc.c:175: error: implicit declaration of function 'cpu_is_mx35'
drivers/usb/host/ehci-mxc.c:175: error: implicit declaration of function 'cpu_is_mx25'
drivers/usb/host/ehci-mxc.c:185: error: implicit declaration of function 'cpu_is_mx51'
make[5]: *** [drivers/usb/host/ehci-hcd.o] Error 1

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/usb/host/ehci-mxc.c

index 0c058be35a3887d5a36b9ffa005873f6824e9457..555a73c864b57567229629e8e3432f7a710a7816 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/usb/ulpi.h>
 #include <linux/slab.h>
 
+#include <mach/hardware.h>
 #include <mach/mxc_ehci.h>
 
 #include <asm/mach-types.h>