summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/hci_serdev.c
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2017-03-28 17:59:37 +0200
committerMarcel Holtmann <marcel@holtmann.org>2017-04-12 22:12:17 +0200
commit081f36a8c2e0ae56f33ba6b12389b290a49b6508 (patch)
tree840c0d0325b136f81a63733a72bf4b4467fbfd06 /drivers/bluetooth/hci_serdev.c
parent52b318e6196169e5ff8a52371833cd5a9dba05d1 (diff)
Bluetooth: hci_serdev: allow modular drivers
For bluetooth protocol driver only supporting serdev it makes sense to follow common practice and built them into their own module. Such modules need access to hci_uart_register_device and hci_uart_tx_wakeup for using the common protocol helpers. Signed-off-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_serdev.c')
-rw-r--r--drivers/bluetooth/hci_serdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_serdev.c b/drivers/bluetooth/hci_serdev.c
index 3b8ac0ece3fb..7de0edc0ff8c 100644
--- a/drivers/bluetooth/hci_serdev.c
+++ b/drivers/bluetooth/hci_serdev.c
@@ -353,3 +353,4 @@ err_alloc:
p->close(hu);
return err;
}
+EXPORT_SYMBOL_GPL(hci_uart_register_device);