diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-04-05 01:27:34 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-04-07 12:47:10 -0400 |
commit | 7c40fb8db135288485f4f6226ceb69d64610a84e (patch) | |
tree | 6a54af660d80d93947e566f5cf83c5496e53a129 /drivers/bluetooth/hci_h5.c | |
parent | 4ee7ef19894c0ac35cc6dc374d65658a26d7496a (diff) |
Bluetooth: hci_uart: Add name information to hci_uart_proto struct
This adds an extra name field to the hci_uart_proto struct that provides
a simple way of adding a string identifier to the protocol.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth/hci_h5.c')
-rw-r--r-- | drivers/bluetooth/hci_h5.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c index aac0e8f718b0..de7da17ccdab 100644 --- a/drivers/bluetooth/hci_h5.c +++ b/drivers/bluetooth/hci_h5.c | |||
@@ -745,6 +745,7 @@ static int h5_flush(struct hci_uart *hu) | |||
745 | 745 | ||
746 | static const struct hci_uart_proto h5p = { | 746 | static const struct hci_uart_proto h5p = { |
747 | .id = HCI_UART_3WIRE, | 747 | .id = HCI_UART_3WIRE, |
748 | .name = "Three-wire (H5)", | ||
748 | .open = h5_open, | 749 | .open = h5_open, |
749 | .close = h5_close, | 750 | .close = h5_close, |
750 | .recv = h5_recv, | 751 | .recv = h5_recv, |