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 377876315b8d..9ea4ecb3d9c8 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.c +++ b/drivers/net/wireless/rt2x00/rt2800usb.c | |||
@@ -1234,15 +1234,4 @@ static struct usb_driver rt2800usb_driver = { | |||
1234 | .resume = rt2x00usb_resume, | 1234 | .resume = rt2x00usb_resume, |
1235 | }; | 1235 | }; |
1236 | 1236 | ||
1237 | static int __init rt2800usb_init(void) | 1237 | module_usb_driver(rt2800usb_driver); |
1238 | { | ||
1239 | return usb_register(&rt2800usb_driver); | ||
1240 | } | ||
1241 | |||
1242 | static void __exit rt2800usb_exit(void) | ||
1243 | { | ||
1244 | usb_deregister(&rt2800usb_driver); | ||
1245 | } | ||
1246 | |||
1247 | module_init(rt2800usb_init); | ||
1248 | module_exit(rt2800usb_exit); | ||