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 fbfba802a3d7..55ac349695c4 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c | |||
@@ -1226,20 +1226,7 @@ static struct usb_driver btusb_driver = { | |||
1226 | .supports_autosuspend = 1, | 1226 | .supports_autosuspend = 1, |
1227 | }; | 1227 | }; |
1228 | 1228 | ||
1229 | static int __init btusb_init(void) | 1229 | module_usb_driver(btusb_driver); |
1230 | { | ||
1231 | BT_INFO("Generic Bluetooth USB driver ver %s", VERSION); | ||
1232 | |||
1233 | return usb_register(&btusb_driver); | ||
1234 | } | ||
1235 | |||
1236 | static void __exit btusb_exit(void) | ||
1237 | { | ||
1238 | usb_deregister(&btusb_driver); | ||
1239 | } | ||
1240 | |||
1241 | module_init(btusb_init); | ||
1242 | module_exit(btusb_exit); | ||
1243 | 1230 | ||
1244 | module_param(ignore_dga, bool, 0644); | 1231 | module_param(ignore_dga, bool, 0644); |
1245 | MODULE_PARM_DESC(ignore_dga, "Ignore devices with id 08fd:0001"); | 1232 | MODULE_PARM_DESC(ignore_dga, "Ignore devices with id 08fd:0001"); |