diff options
-rw-r--r-- | drivers/usb/gadget/composite.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index 8498f1a114d5..09289bb1e20f 100644 --- a/drivers/usb/gadget/composite.c +++ b/drivers/usb/gadget/composite.c | |||
@@ -1092,7 +1092,8 @@ static struct usb_gadget_driver composite_driver = { | |||
1092 | .speed = USB_SPEED_HIGH, | 1092 | .speed = USB_SPEED_HIGH, |
1093 | 1093 | ||
1094 | .bind = composite_bind, | 1094 | .bind = composite_bind, |
1095 | .unbind = __exit_p(composite_unbind), | 1095 | /* .unbind = __exit_p(composite_unbind), */ |
1096 | .unbind = composite_unbind, | ||
1096 | 1097 | ||
1097 | .setup = composite_setup, | 1098 | .setup = composite_setup, |
1098 | .disconnect = composite_disconnect, | 1099 | .disconnect = composite_disconnect, |
@@ -1141,7 +1142,7 @@ int __init usb_composite_register(struct usb_composite_driver *driver) | |||
1141 | * This function is used to unregister drivers using the composite | 1142 | * This function is used to unregister drivers using the composite |
1142 | * driver framework. | 1143 | * driver framework. |
1143 | */ | 1144 | */ |
1144 | void __exit usb_composite_unregister(struct usb_composite_driver *driver) | 1145 | void /* __exit */ usb_composite_unregister(struct usb_composite_driver *driver) |
1145 | { | 1146 | { |
1146 | if (composite != driver) | 1147 | if (composite != driver) |
1147 | return; | 1148 | return; |