Re: [PATCH] USB: ehci/mxc: compile fix

From: Sergei Shtylyov
Date: Mon Nov 01 2010 - 08:31:43 EST


Hello.

On 29-10-2010 11:37, Uwe Kleine-KÃnig wrote:

65fd42724aee31018b0bb53f4cb04971423be664 broke the build using

Linus has asked people to also specify the commit short description in parens after SHA1.

ARM's mx51_defconfig:

CC drivers/usb/host/ehci-hcd.o
In file included from drivers/usb/host/ehci-hcd.c:1166:
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/ehci-hcd.o] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2

Fix it together with the warnung about the unused variable.

Tested-by: Dinh Nguyen<Dinh.Nguyen@xxxxxxxxxxxxx>
Signed-off-by: Uwe Kleine-KÃnig<u.kleine-koenig@xxxxxxxxxxxxxx>

WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/