diff options
Diffstat (limited to 'drivers/bluetooth/hci_ldisc.c')
-rw-r--r-- | drivers/bluetooth/hci_ldisc.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c index 6055b9c0ac0f..e68821d074b0 100644 --- a/drivers/bluetooth/hci_ldisc.c +++ b/drivers/bluetooth/hci_ldisc.c | |||
@@ -549,7 +549,10 @@ static int __init hci_uart_init(void) | |||
549 | #ifdef CONFIG_BT_HCIUART_BCSP | 549 | #ifdef CONFIG_BT_HCIUART_BCSP |
550 | bcsp_init(); | 550 | bcsp_init(); |
551 | #endif | 551 | #endif |
552 | 552 | #ifdef CONFIG_BT_HCIUART_LL | |
553 | ll_init(); | ||
554 | #endif | ||
555 | |||
553 | return 0; | 556 | return 0; |
554 | } | 557 | } |
555 | 558 | ||
@@ -563,6 +566,9 @@ static void __exit hci_uart_exit(void) | |||
563 | #ifdef CONFIG_BT_HCIUART_BCSP | 566 | #ifdef CONFIG_BT_HCIUART_BCSP |
564 | bcsp_deinit(); | 567 | bcsp_deinit(); |
565 | #endif | 568 | #endif |
569 | #ifdef CONFIG_BT_HCIUART_LL | ||
570 | ll_deinit(); | ||
571 | #endif | ||
566 | 572 | ||
567 | /* Release tty registration of line discipline */ | 573 | /* Release tty registration of line discipline */ |
568 | if ((err = tty_unregister_ldisc(N_HCI))) | 574 | if ((err = tty_unregister_ldisc(N_HCI))) |