On Fri, 15 Feb 2013, Manjunath Goudar wrote: > --- a/drivers/usb/host/ehci-s5p.c > +++ b/drivers/usb/host/ehci-s5p.c > @@ -20,6 +20,17 @@ > #include <linux/usb/phy.h> > #include <linux/usb/samsung_usb_phy.h> > #include <plat/usb-phy.h> > +#include <linux/kernel.h> > +#include <linux/module.h> > +#include <linux/usb.h> > +#include <linux/usb/hcd.h> > +#include <linux/io.h> > +#include <linux/usb/otg.h> > +#include <linux/dma-mapping.h> It's generally a good idea to keep these #include's in alphabetical order, as near as possible. > @@ -322,5 +305,27 @@ static struct platform_driver s5p_ehci_driver = { > .of_match_table = of_match_ptr(exynos_ehci_match), > } > }; > +static const struct ehci_driver_overrides s5p_overrides __initdata = { > + .reset = ehci_setup, Not needed. But you can use .extra_priv_size to eliminate the separate allocation of the s5p_ehci_hcd structure. Once you do that, the .dev and .hcd members of the structure will be unnecessary. > +MODULE_DESCRIPTION(DRIVER_DESC); > MODULE_ALIAS("platform:s5p-ehci"); > +MODULE_LICENSE("GPL"); Should be GPLv2. 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