diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800usb.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c index f1565792f270..78550a7f689c 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.c +++ b/drivers/net/wireless/rt2x00/rt2800usb.c | |||
@@ -1233,15 +1233,4 @@ static struct usb_driver rt2800usb_driver = { | |||
1233 | .resume = rt2x00usb_resume, | 1233 | .resume = rt2x00usb_resume, |
1234 | }; | 1234 | }; |
1235 | 1235 | ||
1236 | static int __init rt2800usb_init(void) | 1236 | module_usb_driver(rt2800usb_driver); |
1237 | { | ||
1238 | return usb_register(&rt2800usb_driver); | ||
1239 | } | ||
1240 | |||
1241 | static void __exit rt2800usb_exit(void) | ||
1242 | { | ||
1243 | usb_deregister(&rt2800usb_driver); | ||
1244 | } | ||
1245 | |||
1246 | module_init(rt2800usb_init); | ||
1247 | module_exit(rt2800usb_exit); | ||