[PATCH] ARM: imx: fix ehci-mxc build.
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Wed Nov 17 15:25:15 EST 2010
On Tue, Nov 16, 2010 at 06:58:55PM -0800, Fabio Estevam wrote:
> 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
In the meantime gregkh has taken the fix (e.g
724c85251f78f1332e0a28f80cead0cee5b7c906 in current next)
(BTW, your colleague Nguyen Dinh-R00091 tested that patch :-)
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the linux-arm-kernel
mailing list