aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/bfusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bluetooth/bfusb.c')
-rw-r--r--drivers/bluetooth/bfusb.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c
index a936763b8c3d..a323baee51b0 100644
--- a/drivers/bluetooth/bfusb.c
+++ b/drivers/bluetooth/bfusb.c
@@ -762,26 +762,7 @@ static struct usb_driver bfusb_driver = {
762 .id_table = bfusb_table, 762 .id_table = bfusb_table,
763}; 763};
764 764
765static int __init bfusb_init(void) 765module_usb_driver(bfusb_driver);
766{
767 int err;
768
769 BT_INFO("BlueFRITZ! USB driver ver %s", VERSION);
770
771 err = usb_register(&bfusb_driver);
772 if (err < 0)
773 BT_ERR("Failed to register BlueFRITZ! USB driver");
774
775 return err;
776}
777
778static void __exit bfusb_exit(void)
779{
780 usb_deregister(&bfusb_driver);
781}
782
783module_init(bfusb_init);
784module_exit(bfusb_exit);
785 766
786MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>"); 767MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>");
787MODULE_DESCRIPTION("BlueFRITZ! USB driver ver " VERSION); 768MODULE_DESCRIPTION("BlueFRITZ! USB driver ver " VERSION);