]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/gadget/composite.c
USB: composite: usb_composite_unregister() no longer __exit
[karo-tx-linux.git] / drivers / usb / gadget / composite.c
index 8498f1a114d50083294437f504c93c5b0eb6b05c..09289bb1e20fcf984b388b32f55a6c404cc1dcb3 100644 (file)
@@ -1092,7 +1092,8 @@ static struct usb_gadget_driver composite_driver = {
        .speed          = USB_SPEED_HIGH,
 
        .bind           = composite_bind,
-       .unbind         = __exit_p(composite_unbind),
+       /* .unbind              = __exit_p(composite_unbind), */
+       .unbind         = composite_unbind,
 
        .setup          = composite_setup,
        .disconnect     = composite_disconnect,
@@ -1141,7 +1142,7 @@ int __init usb_composite_register(struct usb_composite_driver *driver)
  * This function is used to unregister drivers using the composite
  * driver framework.
  */
-void __exit usb_composite_unregister(struct usb_composite_driver *driver)
+void /* __exit */ usb_composite_unregister(struct usb_composite_driver *driver)
 {
        if (composite != driver)
                return;