[PATCH] ARM: imx: fix ehci-mxc build.

Fabio Estevam fabioestevam at yahoo.com
Tue Nov 16 21:58:55 EST 2010


Hi Jiejing,

--- On Tue, 11/16/10, Zhang Jiejing <jiejing.zhang at freescale.com> wrote:

> From: Zhang Jiejing <jiejing.zhang at freescale.com>
> Subject: [PATCH] ARM: imx: fix ehci-mxc build.
> To: linux-arm-kernel at lists.infradead.org
> Cc: "Liu Hui" <b29976 at freescale.com>, "Sascha Hauer" <s.hauer at pengutronix.de>, "Zhang Jiejing" <jiejing.zhang at freescale.com>, "Daniel Mack" <daniel at caiaq.de>, "Matthieu CASTET" <matthieu.castet at parrot.com>
> Date: Tuesday, November 16, 2010, 11:57 PM
> The ehci-mxc.c is broken by commit:
> 65fd42724aee31018b0bb53f4cb04971423be664
> 
>   CHK     include/linux/version.h
>   CHK 
>    include/generated/utsrelease.h
> make[1]: `include/generated/mach-types.h' is up to date.
>   CALL    scripts/checksyscalls.sh
>   CHK 
>    include/generated/compile.h
>   CC      drivers/serial/imx.o
>   LD      drivers/serial/built-in.o
>   CC      drivers/usb/host/ehci-hcd.o
> In file included from drivers/usb/host/ehci-hcd.c:1165:
> drivers/usb/host/ehci-mxc.c: In function
> 'ehci_mxc_drv_probe':
> drivers/usb/host/ehci-mxc.c:192: error: 'ehci' undeclared
> (first use in this function)
> drivers/usb/host/ehci-mxc.c:192: error: (Each undeclared
> identifier is reported only once
> drivers/usb/host/ehci-mxc.c:192: error: for each function
> it appears in.)
> drivers/usb/host/ehci-mxc.c:117: warning: unused variable
> 'temp'
> make[3]: *** [drivers/usb/host/ehci-hcd.o] Error 1
> make[2]: *** [drivers/usb/host] Error 2
> make[1]: *** [drivers/usb] Error 2
> make: *** [drivers] Error 2
> 
> This patch is fix this by reuse old code.

Uwe has already sent a fix for this issue: http://git.pengutronix.de/?p=imx/linux-2.6.git;a=commitdiff;h=1cbc09fe2e64ccfb33a4d0e85c46c90a9167a53c

Regards,

Fabio Estevam


      



More information about the linux-arm-kernel mailing list