diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/usb.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/usb.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/usb.c b/drivers/net/wireless/ath/ath6kl/usb.c index c44325856b81..a6a5e40b3e98 100644 --- a/drivers/net/wireless/ath/ath6kl/usb.c +++ b/drivers/net/wireless/ath/ath6kl/usb.c | |||
@@ -1229,26 +1229,7 @@ static struct usb_driver ath6kl_usb_driver = { | |||
1229 | .disable_hub_initiated_lpm = 1, | 1229 | .disable_hub_initiated_lpm = 1, |
1230 | }; | 1230 | }; |
1231 | 1231 | ||
1232 | static int ath6kl_usb_init(void) | 1232 | module_usb_driver(ath6kl_usb_driver); |
1233 | { | ||
1234 | int ret; | ||
1235 | |||
1236 | ret = usb_register(&ath6kl_usb_driver); | ||
1237 | if (ret) { | ||
1238 | ath6kl_err("usb registration failed: %d\n", ret); | ||
1239 | return ret; | ||
1240 | } | ||
1241 | |||
1242 | return 0; | ||
1243 | } | ||
1244 | |||
1245 | static void ath6kl_usb_exit(void) | ||
1246 | { | ||
1247 | usb_deregister(&ath6kl_usb_driver); | ||
1248 | } | ||
1249 | |||
1250 | module_init(ath6kl_usb_init); | ||
1251 | module_exit(ath6kl_usb_exit); | ||
1252 | 1233 | ||
1253 | MODULE_AUTHOR("Atheros Communications, Inc."); | 1234 | MODULE_AUTHOR("Atheros Communications, Inc."); |
1254 | MODULE_DESCRIPTION("Driver support for Atheros AR600x USB devices"); | 1235 | MODULE_DESCRIPTION("Driver support for Atheros AR600x USB devices"); |