Bluetooth: hci_uart: add serdev driver support library
authorRob Herring <robh@kernel.org>
Tue, 28 Mar 2017 15:59:35 +0000 (17:59 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 12 Apr 2017 20:12:17 +0000 (22:12 +0200)
commit82f5169bf3d3b5d8f7f7c437d2d83435173cb638
treec1ee9058542bbb3fdea4ca20e9791ff2878cc45f
parentaeac30140694824f26d14655271e1dcf3e32fd49
Bluetooth: hci_uart: add serdev driver support library

This adds library functions for serdev based BT drivers. This is largely
copied from hci_ldisc.c and modified to use serdev calls. There's a little
bit of duplication, but I avoided intermixing this as the ldisc code should
eventually go away.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Gustavo Padovan <gustavo@padovan.org>
Cc: Johan Hedberg <johan.hedberg@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Acked-by: Pavel Machek <pavel@ucw.cz>
[Fix style issues reported by Pavel]
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/Makefile
drivers/bluetooth/hci_serdev.c [new file with mode: 0644]
drivers/bluetooth/hci_uart.h