diff options
author | Ben Dooks <ben@fluff.org.uk> | 2005-10-10 10:52:33 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 16:47:45 -0700 |
commit | d0d5049fb02fc1082c17e08deecd6fed8db549b6 (patch) | |
tree | 831b9345598e4074ca6168d65c393229130be866 /drivers/usb/gadget/pxa2xx_udc.c | |
parent | a85ee6b50c8a1fca4034c8d6b21c91a8de171e01 (diff) | |
download | linux-stable-d0d5049fb02fc1082c17e08deecd6fed8db549b6.tar.gz linux-stable-d0d5049fb02fc1082c17e08deecd6fed8db549b6.tar.bz2 linux-stable-d0d5049fb02fc1082c17e08deecd6fed8db549b6.zip |
[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/pxa2xx_udc.c')
-rw-r--r-- | drivers/usb/gadget/pxa2xx_udc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/pxa2xx_udc.c b/drivers/usb/gadget/pxa2xx_udc.c index 647028590b23..f83a9262f953 100644 --- a/drivers/usb/gadget/pxa2xx_udc.c +++ b/drivers/usb/gadget/pxa2xx_udc.c @@ -2631,6 +2631,7 @@ static int pxa2xx_udc_resume(struct device *dev) static struct device_driver udc_driver = { .name = "pxa2xx-udc", + .owner = THIS_MODULE, .bus = &platform_bus_type, .probe = pxa2xx_udc_probe, .shutdown = pxa2xx_udc_shutdown, |