diff options
Diffstat (limited to 'drivers/net/usb/cdc_ncm.c')
-rw-r--r-- | drivers/net/usb/cdc_ncm.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c index f06fb78383a1..9904b7ebca2d 100644 --- a/drivers/net/usb/cdc_ncm.c +++ b/drivers/net/usb/cdc_ncm.c | |||
@@ -1232,20 +1232,7 @@ static struct ethtool_ops cdc_ncm_ethtool_ops = { | |||
1232 | .nway_reset = usbnet_nway_reset, | 1232 | .nway_reset = usbnet_nway_reset, |
1233 | }; | 1233 | }; |
1234 | 1234 | ||
1235 | static int __init cdc_ncm_init(void) | 1235 | module_usb_driver(cdc_ncm_driver); |
1236 | { | ||
1237 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION "\n"); | ||
1238 | return usb_register(&cdc_ncm_driver); | ||
1239 | } | ||
1240 | |||
1241 | module_init(cdc_ncm_init); | ||
1242 | |||
1243 | static void __exit cdc_ncm_exit(void) | ||
1244 | { | ||
1245 | usb_deregister(&cdc_ncm_driver); | ||
1246 | } | ||
1247 | |||
1248 | module_exit(cdc_ncm_exit); | ||
1249 | 1236 | ||
1250 | MODULE_AUTHOR("Hans Petter Selasky"); | 1237 | MODULE_AUTHOR("Hans Petter Selasky"); |
1251 | MODULE_DESCRIPTION("USB CDC NCM host driver"); | 1238 | MODULE_DESCRIPTION("USB CDC NCM host driver"); |