aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_ldisc.c
diff options
context:
space:
mode:
authorSuraj Sumangala <suraj@atheros.com>2010-07-19 03:04:07 -0400
committerMarcel Holtmann <marcel@holtmann.org>2010-07-21 13:39:14 -0400
commitb3190df628617c7a4f188a9465aeabe1f5761933 (patch)
tree95ac5c0247d858e29ac05e8f70f24792c7edaa80 /drivers/bluetooth/hci_ldisc.c
parent81ca405aee7e4a1a432c3887bc83ae798fd2cccd (diff)
Bluetooth: Support for Atheros AR300x serial chip
Implements Atheros AR300x serial HCI protocol. This protocol extends H4 serial protocol to implement enhanced power management features supported by Atheros AR300x serial Bluetooth chipsets. Signed-off-by: Suraj Sumangala <suraj@atheros.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_ldisc.c')
-rw-r--r--drivers/bluetooth/hci_ldisc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index a57dbfccb3fb..998833d93c13 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -552,6 +552,9 @@ static int __init hci_uart_init(void)
552#ifdef CONFIG_BT_HCIUART_LL 552#ifdef CONFIG_BT_HCIUART_LL
553 ll_init(); 553 ll_init();
554#endif 554#endif
555#ifdef CONFIG_BT_HCIUART_ATH3K
556 ath_init();
557#endif
555 558
556 return 0; 559 return 0;
557} 560}
@@ -569,6 +572,9 @@ static void __exit hci_uart_exit(void)
569#ifdef CONFIG_BT_HCIUART_LL 572#ifdef CONFIG_BT_HCIUART_LL
570 ll_deinit(); 573 ll_deinit();
571#endif 574#endif
575#ifdef CONFIG_BT_HCIUART_ATH3K
576 ath_deinit();
577#endif
572 578
573 /* Release tty registration of line discipline */ 579 /* Release tty registration of line discipline */
574 if ((err = tty_unregister_ldisc(N_HCI))) 580 if ((err = tty_unregister_ldisc(N_HCI)))