* Felipe Balbi [100309 22:18]: > > --- a/arch/arm/plat-omap/include/plat/usb.h > > +++ b/arch/arm/plat-omap/include/plat/usb.h > > @@ -53,7 +53,7 @@ enum musb_interface {MUSB_INTERFACE_ULPI, MUSB_INTERFACE_UTMI}; > > > > extern void usb_musb_init(struct omap_musb_board_data *board_data); > > > > -extern void usb_ehci_init(struct ehci_hcd_omap_platform_data *pdata); > > +extern void usb_ehci_init(const struct ehci_hcd_omap_platform_data *pdata); > > > > #endif > > won't this give you compile warnings ?? No, that just means the usb_ehci_init won't change *pdata. But to keep this const and fix a related warning, we need to also make setup_ehci_io_mux to be: static void setup_ehci_io_mux(const enum ehci_hcd_omap_mode *port_mode) Updated patch below, is this what you want to do? Maybe reply with an updated patch if you want usb_ehci_init not to use const? Also, there are other ehci related warnings, see the attached file for that. Regards, Tony