diff options
Diffstat (limited to 'drivers/bluetooth/bcm203x.c')
-rw-r--r-- | drivers/bluetooth/bcm203x.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/bluetooth/bcm203x.c b/drivers/bluetooth/bcm203x.c index 54952ab800b..1e742a50e2c 100644 --- a/drivers/bluetooth/bcm203x.c +++ b/drivers/bluetooth/bcm203x.c | |||
@@ -281,26 +281,7 @@ static struct usb_driver bcm203x_driver = { | |||
281 | .id_table = bcm203x_table, | 281 | .id_table = bcm203x_table, |
282 | }; | 282 | }; |
283 | 283 | ||
284 | static int __init bcm203x_init(void) | 284 | module_usb_driver(bcm203x_driver); |
285 | { | ||
286 | int err; | ||
287 | |||
288 | BT_INFO("Broadcom Blutonium firmware driver ver %s", VERSION); | ||
289 | |||
290 | err = usb_register(&bcm203x_driver); | ||
291 | if (err < 0) | ||
292 | BT_ERR("Failed to register USB driver"); | ||
293 | |||
294 | return err; | ||
295 | } | ||
296 | |||
297 | static void __exit bcm203x_exit(void) | ||
298 | { | ||
299 | usb_deregister(&bcm203x_driver); | ||
300 | } | ||
301 | |||
302 | module_init(bcm203x_init); | ||
303 | module_exit(bcm203x_exit); | ||
304 | 285 | ||
305 | MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>"); | 286 | MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>"); |
306 | MODULE_DESCRIPTION("Broadcom Blutonium firmware driver ver " VERSION); | 287 | MODULE_DESCRIPTION("Broadcom Blutonium firmware driver ver " VERSION); |