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.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/usb/gadget/cdc2.c b/drivers/usb/gadget/cdc2.c
index e126b6b248e6..2e85d9473478 100644
--- a/drivers/usb/gadget/cdc2.c
+++ b/drivers/usb/gadget/cdc2.c
@@ -231,18 +231,8 @@ static __refdata struct usb_composite_driver cdc_driver = {
231 .unbind = __exit_p(cdc_unbind), 231 .unbind = __exit_p(cdc_unbind),
232}; 232};
233 233
234module_usb_composite_driver(cdc_driver);
235
234MODULE_DESCRIPTION(DRIVER_DESC); 236MODULE_DESCRIPTION(DRIVER_DESC);
235MODULE_AUTHOR("David Brownell"); 237MODULE_AUTHOR("David Brownell");
236MODULE_LICENSE("GPL"); 238MODULE_LICENSE("GPL");
237
238static int __init init(void)
239{
240 return usb_composite_probe(&cdc_driver);
241}
242module_init(init);
243
244static void __exit cleanup(void)
245{
246 usb_composite_unregister(&cdc_driver);
247}
248module_exit(cleanup);