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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Greg,

On Tue, Nov 02, 2010 at 07:05:27AM -0700, Nguyen Dinh-R00091 wrote:
> Hi Uwe,
> 
> > -----Original Message-----
> > From: Uwe Kleine-König [mailto:u.kleine-koenig@xxxxxxxxxxxxxx]
> > Sent: Tuesday, November 02, 2010 4:31 AM
> > To: Greg KH
> > Cc: kernel@xxxxxxxxxxxxxx; Sergei Shtylyov; matthieu.castet@xxxxxxxxxx;
> > linux-kernel@xxxxxxxxxxxxxxx; linux-usb@xxxxxxxxxxxxxxx; Nguyen Dinh-
> > R00091; Nguyen Dinh-R00091; Alan Stern
> > Subject: [PATCH] USB: ehci/mxc: compile fix
> > 
> > Commit
> > 	65fd427 (USB: ehci tdi : let's tdi_reset set host mode)
> > 
> > broke the build using 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 warning about the unused variable and use
> > msleep instead of mdelay as requested by Alan Stern.
> > 
> > Cc: Dinh Nguyen <Dinh.Nguyen@xxxxxxxxxxxxx>
> > Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> > ---
> > Hello,
> > 
> > I currently have no hardware to test it, so I only verified it to
> > compile.
> > 
> > Dinh: I changed your Tested-by to Cc for the new patch, do you care to
> > retest?
> 
> Retested - check!
Do you take this patch and "USB: Fix FSL USB driver on non Open Firmware
systems"?

Just drop me a note if you need them resent.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux