Skip to content

Commit

Permalink
Bluetooth: hci_serdev: allow modular drivers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastian Reichel authored and Marcel Holtmann committed Apr 12, 2017
1 parent 52b318e commit 081f36a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/bluetooth/hci_ldisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ int hci_uart_tx_wakeup(struct hci_uart *hu)

return 0;
}
EXPORT_SYMBOL_GPL(hci_uart_tx_wakeup);

static void hci_uart_write_work(struct work_struct *work)
{
Expand Down
1 change: 1 addition & 0 deletions drivers/bluetooth/hci_serdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,3 +353,4 @@ int hci_uart_register_device(struct hci_uart *hu,
p->close(hu);
return err;
}
EXPORT_SYMBOL_GPL(hci_uart_register_device);

0 comments on commit 081f36a

Please sign in to comment.