diff options
Diffstat (limited to 'drivers/net/usb/int51x1.c')
-rw-r--r-- | drivers/net/usb/int51x1.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/usb/int51x1.c b/drivers/net/usb/int51x1.c index 131ac6c172f6..12a22a453ff1 100644 --- a/drivers/net/usb/int51x1.c +++ b/drivers/net/usb/int51x1.c | |||
@@ -238,17 +238,7 @@ static struct usb_driver int51x1_driver = { | |||
238 | .resume = usbnet_resume, | 238 | .resume = usbnet_resume, |
239 | }; | 239 | }; |
240 | 240 | ||
241 | static int __init int51x1_init(void) | 241 | module_usb_driver(int51x1_driver); |
242 | { | ||
243 | return usb_register(&int51x1_driver); | ||
244 | } | ||
245 | module_init(int51x1_init); | ||
246 | |||
247 | static void __exit int51x1_exit(void) | ||
248 | { | ||
249 | usb_deregister(&int51x1_driver); | ||
250 | } | ||
251 | module_exit(int51x1_exit); | ||
252 | 242 | ||
253 | MODULE_AUTHOR("Peter Holik"); | 243 | MODULE_AUTHOR("Peter Holik"); |
254 | MODULE_DESCRIPTION("Intellon usb powerline adapter"); | 244 | MODULE_DESCRIPTION("Intellon usb powerline adapter"); |