diff options
Diffstat (limited to 'drivers/bluetooth/hci_vhci.c')
-rw-r--r-- | drivers/bluetooth/hci_vhci.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/bluetooth/hci_vhci.c b/drivers/bluetooth/hci_vhci.c index 3ff229b2e7f3..c4a75a18dcae 100644 --- a/drivers/bluetooth/hci_vhci.c +++ b/drivers/bluetooth/hci_vhci.c | |||
@@ -377,21 +377,7 @@ static struct miscdevice vhci_miscdev = { | |||
377 | .fops = &vhci_fops, | 377 | .fops = &vhci_fops, |
378 | .minor = VHCI_MINOR, | 378 | .minor = VHCI_MINOR, |
379 | }; | 379 | }; |
380 | 380 | module_misc_device(vhci_miscdev); | |
381 | static int __init vhci_init(void) | ||
382 | { | ||
383 | BT_INFO("Virtual HCI driver ver %s", VERSION); | ||
384 | |||
385 | return misc_register(&vhci_miscdev); | ||
386 | } | ||
387 | |||
388 | static void __exit vhci_exit(void) | ||
389 | { | ||
390 | misc_deregister(&vhci_miscdev); | ||
391 | } | ||
392 | |||
393 | module_init(vhci_init); | ||
394 | module_exit(vhci_exit); | ||
395 | 381 | ||
396 | module_param(amp, bool, 0644); | 382 | module_param(amp, bool, 0644); |
397 | MODULE_PARM_DESC(amp, "Create AMP controller device"); | 383 | MODULE_PARM_DESC(amp, "Create AMP controller device"); |