Solve compilation problem when using host usb with mx27 boards

Submitted by Aurelien Bouin on Nov. 10, 2011, 10:42 a.m.

Details

Message ID 1320921777.46031.YahooMailNeo@web28503.mail.ukl.yahoo.com
State New
Headers show

Commit Message

Aurelien Bouin Nov. 10, 2011, 10:42 a.m.
Without this patch, when you are compiling the kernel for mx27 mach you will get an include problem...

Comments

Shawn Guo Nov. 11, 2011, 8:43 a.m.
On Thu, Nov 10, 2011 at 10:42:57AM +0000, Aurelien Bouin wrote:
> Without this patch, when you are compiling the kernel for mx27 mach you will get an include problem...

> Signed-off-by: Aurelien bouin <a_bouin@yahoo.fr>
> ---
>  drivers/usb/host/ehci-mxc.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c
> index 0c058be..555a73c 100644
> --- a/drivers/usb/host/ehci-mxc.c
> +++ b/drivers/usb/host/ehci-mxc.c
> @@ -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>

What is your base?  This has been fixed on mainline.

Patch hide | download patch | download mbox

Signed-off-by: Aurelien bouin <a_bouin@yahoo.fr>
---
 drivers/usb/host/ehci-mxc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c
index 0c058be..555a73c 100644
--- a/drivers/usb/host/ehci-mxc.c
+++ b/drivers/usb/host/ehci-mxc.c
@@ -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>