diff options
Diffstat (limited to 'drivers/usb/gadget/file_storage.c')
-rw-r--r-- | drivers/usb/gadget/file_storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/file_storage.c b/drivers/usb/gadget/file_storage.c index de59c58896d6..cf3be299e353 100644 --- a/drivers/usb/gadget/file_storage.c +++ b/drivers/usb/gadget/file_storage.c | |||
@@ -3678,7 +3678,7 @@ static void lun_release(struct device *dev) | |||
3678 | kref_put(&fsg->ref, fsg_release); | 3678 | kref_put(&fsg->ref, fsg_release); |
3679 | } | 3679 | } |
3680 | 3680 | ||
3681 | static void fsg_unbind(struct usb_gadget *gadget) | 3681 | static void __exit fsg_unbind(struct usb_gadget *gadget) |
3682 | { | 3682 | { |
3683 | struct fsg_dev *fsg = get_gadget_data(gadget); | 3683 | struct fsg_dev *fsg = get_gadget_data(gadget); |
3684 | int i; | 3684 | int i; |
@@ -4064,7 +4064,7 @@ static struct usb_gadget_driver fsg_driver = { | |||
4064 | #endif | 4064 | #endif |
4065 | .function = (char *) longname, | 4065 | .function = (char *) longname, |
4066 | .bind = fsg_bind, | 4066 | .bind = fsg_bind, |
4067 | .unbind = fsg_unbind, | 4067 | .unbind = __exit_p(fsg_unbind), |
4068 | .disconnect = fsg_disconnect, | 4068 | .disconnect = fsg_disconnect, |
4069 | .setup = fsg_setup, | 4069 | .setup = fsg_setup, |
4070 | .suspend = fsg_suspend, | 4070 | .suspend = fsg_suspend, |