Building failure of 3.1-rc1 of drivers/usb/host/ehci-mxc.c

Shawn Guo shawn.guo at freescale.com
Tue Aug 9 12:18:32 EDT 2011


On Tue, Aug 09, 2011 at 11:58:05PM +0800, Eric Miao wrote:
> Hi Sascha,
> 
> Found the error below when trying to build 3.1-rc1 for imx51/53:
> 
> In file included from
> /home/ycmiao/linaro/linux-2.6/drivers/usb/host/ehci-hcd.c:1190:0:
> /home/ycmiao/linaro/linux-2.6/drivers/usb/host/ehci-mxc.c: In function
> ‘ehci_mxc_drv_probe’:
> /home/ycmiao/linaro/linux-2.6/drivers/usb/host/ehci-mxc.c:175:2:
> error: implicit declaration of function ‘cpu_is_mx35’
> /home/ycmiao/linaro/linux-2.6/drivers/usb/host/ehci-mxc.c:175:2:
> error: implicit declaration of function ‘cpu_is_mx25’
> /home/ycmiao/linaro/linux-2.6/drivers/usb/host/ehci-mxc.c:185:2:
> error: implicit declaration of function ‘cpu_is_mx51’
> make[4]: *** [drivers/usb/host/ehci-hcd.o] Error 1
> make[3]: *** [drivers/usb/host] Error 2
> make[2]: *** [drivers/usb] Error 2
> make[1]: *** [drivers] Error 2
> make[1]: *** Waiting for unfinished jobs....
> 
The failure has been there for a while.  I posted a fix[1] there, and
Greg Kroah-Hartman has queued it up on his branch:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6.git usb-linus

[1] http://permalink.gmane.org/gmane.linux.usb.general/49793

-- 
Regards,
Shawn





More information about the linux-arm-kernel mailing list