aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/cdc2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/cdc2.c')
-rw-r--r--drivers/usb/gadget/cdc2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/gadget/cdc2.c b/drivers/usb/gadget/cdc2.c
index 00b65ac7a2ef..b7d984b54ca9 100644
--- a/drivers/usb/gadget/cdc2.c
+++ b/drivers/usb/gadget/cdc2.c
@@ -237,6 +237,7 @@ static __refdata struct usb_composite_driver cdc_driver = {
237 .dev = &device_desc, 237 .dev = &device_desc,
238 .strings = dev_strings, 238 .strings = dev_strings,
239 .max_speed = USB_SPEED_HIGH, 239 .max_speed = USB_SPEED_HIGH,
240 .bind = cdc_bind,
240 .unbind = __exit_p(cdc_unbind), 241 .unbind = __exit_p(cdc_unbind),
241}; 242};
242 243
@@ -246,7 +247,7 @@ MODULE_LICENSE("GPL");
246 247
247static int __init init(void) 248static int __init init(void)
248{ 249{
249 return usb_composite_probe(&cdc_driver, cdc_bind); 250 return usb_composite_probe(&cdc_driver);
250} 251}
251module_init(init); 252module_init(init);
252 253