summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_ldisc.c
diff options
context:
space:
mode:
authorSuraj Sumangala <suraj@atheros.com>2010-07-19 09:04:07 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-07-21 19:39:14 +0200
commitb3190df628617c7a4f188a9465aeabe1f5761933 (patch)
tree95ac5c0247d858e29ac05e8f70f24792c7edaa80 /drivers/bluetooth/hci_ldisc.c
parentBluetooth: Use __packed annotation for drivers (diff)
downloadlinux-b3190df628617c7a4f188a9465aeabe1f5761933.tar.xz
linux-b3190df628617c7a4f188a9465aeabe1f5761933.zip
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)
#ifdef CONFIG_BT_HCIUART_LL
ll_init();
#endif
+#ifdef CONFIG_BT_HCIUART_ATH3K
+ ath_init();
+#endif
return 0;
}
@@ -569,6 +572,9 @@ static void __exit hci_uart_exit(void)
#ifdef CONFIG_BT_HCIUART_LL
ll_deinit();
#endif
+#ifdef CONFIG_BT_HCIUART_ATH3K
+ ath_deinit();
+#endif
/* Release tty registration of line discipline */
if ((err = tty_unregister_ldisc(N_HCI)))