diff options
author | Ben Dooks <ben@fluff.org.uk> | 2005-10-10 05:52:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 19:47:45 -0400 |
commit | d0d5049fb02fc1082c17e08deecd6fed8db549b6 (patch) | |
tree | 831b9345598e4074ca6168d65c393229130be866 /drivers/usb/gadget/file_storage.c | |
parent | a85ee6b50c8a1fca4034c8d6b21c91a8de171e01 (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/file_storage.c')
-rw-r--r-- | drivers/usb/gadget/file_storage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/file_storage.c b/drivers/usb/gadget/file_storage.c index 86a6aeb9ed76..ea09aaa3cab6 100644 --- a/drivers/usb/gadget/file_storage.c +++ b/drivers/usb/gadget/file_storage.c | |||
@@ -4044,6 +4044,7 @@ static struct usb_gadget_driver fsg_driver = { | |||
4044 | 4044 | ||
4045 | .driver = { | 4045 | .driver = { |
4046 | .name = (char *) shortname, | 4046 | .name = (char *) shortname, |
4047 | .owner = THIS_MODULE, | ||
4047 | // .release = ... | 4048 | // .release = ... |
4048 | // .suspend = ... | 4049 | // .suspend = ... |
4049 | // .resume = ... | 4050 | // .resume = ... |