diff options
Diffstat (limited to 'drivers/bluetooth/bpa10x.c')
-rw-r--r-- | drivers/bluetooth/bpa10x.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/bluetooth/bpa10x.c b/drivers/bluetooth/bpa10x.c index 751b338d904..62831603de5 100644 --- a/drivers/bluetooth/bpa10x.c +++ b/drivers/bluetooth/bpa10x.c | |||
@@ -521,20 +521,7 @@ static struct usb_driver bpa10x_driver = { | |||
521 | .id_table = bpa10x_table, | 521 | .id_table = bpa10x_table, |
522 | }; | 522 | }; |
523 | 523 | ||
524 | static int __init bpa10x_init(void) | 524 | module_usb_driver(bpa10x_driver); |
525 | { | ||
526 | BT_INFO("Digianswer Bluetooth USB driver ver %s", VERSION); | ||
527 | |||
528 | return usb_register(&bpa10x_driver); | ||
529 | } | ||
530 | |||
531 | static void __exit bpa10x_exit(void) | ||
532 | { | ||
533 | usb_deregister(&bpa10x_driver); | ||
534 | } | ||
535 | |||
536 | module_init(bpa10x_init); | ||
537 | module_exit(bpa10x_exit); | ||
538 | 525 | ||
539 | MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>"); | 526 | MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>"); |
540 | MODULE_DESCRIPTION("Digianswer Bluetooth USB driver ver " VERSION); | 527 | MODULE_DESCRIPTION("Digianswer Bluetooth USB driver ver " VERSION); |