aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/omap_udc.c
diff options
context:
space:
mode:
authorBen Dooks <ben@fluff.org.uk>2005-10-10 05:52:33 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 19:47:45 -0400
commitd0d5049fb02fc1082c17e08deecd6fed8db549b6 (patch)
tree831b9345598e4074ca6168d65c393229130be866 /drivers/usb/gadget/omap_udc.c
parenta85ee6b50c8a1fca4034c8d6b21c91a8de171e01 (diff)
[PATCH] USB: gadget drivers - add .owner initialisation
Ensure the the device_driver and usb_gadget_driver have their .owner fields initialised to associate the module owner to the driver. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/omap_udc.c')
-rw-r--r--drivers/usb/gadget/omap_udc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c
index b42799bc747a..41c96b0afbb3 100644
--- a/drivers/usb/gadget/omap_udc.c
+++ b/drivers/usb/gadget/omap_udc.c
@@ -2949,6 +2949,7 @@ static int omap_udc_resume(struct device *dev)
2949 2949
2950static struct device_driver udc_driver = { 2950static struct device_driver udc_driver = {
2951 .name = (char *) driver_name, 2951 .name = (char *) driver_name,
2952 .owner = THIS_MODULE,
2952 .bus = &platform_bus_type, 2953 .bus = &platform_bus_type,
2953 .probe = omap_udc_probe, 2954 .probe = omap_udc_probe,
2954 .remove = __exit_p(omap_udc_remove), 2955 .remove = __exit_p(omap_udc_remove),