diff options
Diffstat (limited to 'drivers/bluetooth/btusb.c')
-rw-r--r-- | drivers/bluetooth/btusb.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index eabc437ce500..0c3e179b7589 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c | |||
@@ -1222,20 +1222,7 @@ static struct usb_driver btusb_driver = { | |||
1222 | .supports_autosuspend = 1, | 1222 | .supports_autosuspend = 1, |
1223 | }; | 1223 | }; |
1224 | 1224 | ||
1225 | static int __init btusb_init(void) | 1225 | module_usb_driver(btusb_driver); |
1226 | { | ||
1227 | BT_INFO("Generic Bluetooth USB driver ver %s", VERSION); | ||
1228 | |||
1229 | return usb_register(&btusb_driver); | ||
1230 | } | ||
1231 | |||
1232 | static void __exit btusb_exit(void) | ||
1233 | { | ||
1234 | usb_deregister(&btusb_driver); | ||
1235 | } | ||
1236 | |||
1237 | module_init(btusb_init); | ||
1238 | module_exit(btusb_exit); | ||
1239 | 1226 | ||
1240 | module_param(ignore_dga, bool, 0644); | 1227 | module_param(ignore_dga, bool, 0644); |
1241 | MODULE_PARM_DESC(ignore_dga, "Ignore devices with id 08fd:0001"); | 1228 | MODULE_PARM_DESC(ignore_dga, "Ignore devices with id 08fd:0001"); |