diff options
author | Ben Dooks <ben@fluff.org.uk> | 2005-10-10 11:52:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-29 01:47:45 +0200 |
commit | d0d5049fb02fc1082c17e08deecd6fed8db549b6 (patch) | |
tree | 831b9345598e4074ca6168d65c393229130be866 /drivers/usb/gadget/net2280.c | |
parent | [PATCH] USB: S3C2410 OHCI - add driver owner field (diff) | |
download | linux-d0d5049fb02fc1082c17e08deecd6fed8db549b6.tar.xz linux-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/net2280.c')
-rw-r--r-- | drivers/usb/gadget/net2280.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c index c32e1f7476da..0dc6bb00bf72 100644 --- a/drivers/usb/gadget/net2280.c +++ b/drivers/usb/gadget/net2280.c @@ -2948,6 +2948,7 @@ MODULE_DEVICE_TABLE (pci, pci_ids); static struct pci_driver net2280_pci_driver = { .name = (char *) driver_name, .id_table = pci_ids, + .owner = THIS_MODULE, .probe = net2280_probe, .remove = net2280_remove, |