diff options
Diffstat (limited to 'drivers/net/wireless/libertas/if_usb.c')
-rw-r--r-- | drivers/net/wireless/libertas/if_usb.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c index db879c364eb..b5fbbc7947d 100644 --- a/drivers/net/wireless/libertas/if_usb.c +++ b/drivers/net/wireless/libertas/if_usb.c | |||
@@ -1184,29 +1184,7 @@ static struct usb_driver if_usb_driver = { | |||
1184 | .reset_resume = if_usb_resume, | 1184 | .reset_resume = if_usb_resume, |
1185 | }; | 1185 | }; |
1186 | 1186 | ||
1187 | static int __init if_usb_init_module(void) | 1187 | module_usb_driver(if_usb_driver); |
1188 | { | ||
1189 | int ret = 0; | ||
1190 | |||
1191 | lbs_deb_enter(LBS_DEB_MAIN); | ||
1192 | |||
1193 | ret = usb_register(&if_usb_driver); | ||
1194 | |||
1195 | lbs_deb_leave_args(LBS_DEB_MAIN, "ret %d", ret); | ||
1196 | return ret; | ||
1197 | } | ||
1198 | |||
1199 | static void __exit if_usb_exit_module(void) | ||
1200 | { | ||
1201 | lbs_deb_enter(LBS_DEB_MAIN); | ||
1202 | |||
1203 | usb_deregister(&if_usb_driver); | ||
1204 | |||
1205 | lbs_deb_leave(LBS_DEB_MAIN); | ||
1206 | } | ||
1207 | |||
1208 | module_init(if_usb_init_module); | ||
1209 | module_exit(if_usb_exit_module); | ||
1210 | 1188 | ||
1211 | MODULE_DESCRIPTION("8388 USB WLAN Driver"); | 1189 | MODULE_DESCRIPTION("8388 USB WLAN Driver"); |
1212 | MODULE_AUTHOR("Marvell International Ltd. and Red Hat, Inc."); | 1190 | MODULE_AUTHOR("Marvell International Ltd. and Red Hat, Inc."); |