aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/serial.c')
-rw-r--r--drivers/usb/gadget/serial.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/gadget/serial.c b/drivers/usb/gadget/serial.c
index 7b0b6f40ed07..ea3f8e9344ae 100644
--- a/drivers/usb/gadget/serial.c
+++ b/drivers/usb/gadget/serial.c
@@ -243,6 +243,7 @@ static __refdata struct usb_composite_driver gserial_driver = {
243 .dev = &device_desc, 243 .dev = &device_desc,
244 .strings = dev_strings, 244 .strings = dev_strings,
245 .max_speed = USB_SPEED_SUPER, 245 .max_speed = USB_SPEED_SUPER,
246 .bind = gs_bind,
246}; 247};
247 248
248static int __init init(void) 249static int __init init(void)
@@ -271,7 +272,7 @@ static int __init init(void)
271 } 272 }
272 strings_dev[STRING_DESCRIPTION_IDX].s = serial_config_driver.label; 273 strings_dev[STRING_DESCRIPTION_IDX].s = serial_config_driver.label;
273 274
274 return usb_composite_probe(&gserial_driver, gs_bind); 275 return usb_composite_probe(&gserial_driver);
275} 276}
276module_init(init); 277module_init(init);
277 278