Re: ehci-hcd compile error

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

 



On Thu, 10 Jan 2013, Felipe Balbi wrote:

> Hi Alan,
> 
> with v3.8-rc3, ehci-hcd fails to compile for ARM if I use allmodconfig:
> 
> drivers/usb/host/ehci-hcd.c:1285:0: warning: "PLATFORM_DRIVER" redefined [enabled by default]
> drivers/usb/host/ehci-hcd.c:1255:0: note: this is the location of the previous definition
> drivers/usb/host/ehci-mxc.c:280:31: warning: 'ehci_mxc_driver' defined but not used [-Wunused-variable]
> drivers/usb/host/ehci-hcd.c:1285:0: warning: "PLATFORM_DRIVER" redefined [enabled by default]
> drivers/usb/host/ehci-hcd.c:1255:0: note: this is the location of the previous definition
> 
> Looks like the recent ARM multi-arch patches didn't take into account
> EHCI-hcd.

Do you know why this problem didn't occur in 3.6-rc2?  I don't see any 
changes in -rc3 that would account for it (although I didn't look 
terribly thoroughly).

>  Now it becomes easy to see why giving ehci its own
> platform_device/driver would've been a lot easier ;-)

Not at all.  We merely need to finish the conversion that I started.  
It should be pretty easy to convert ehci-mxc over to the new scheme.  I 
don't have time to do it right now, but soon...

Alan Stern

--
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