diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-04-04 22:27:34 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-04-07 18:47:10 +0200 |
commit | 7c40fb8db135288485f4f6226ceb69d64610a84e (patch) | |
tree | 6a54af660d80d93947e566f5cf83c5496e53a129 /drivers/bluetooth/hci_uart.h | |
parent | 4ee7ef19894c0ac35cc6dc374d65658a26d7496a (diff) | |
download | talos-obmc-linux-7c40fb8db135288485f4f6226ceb69d64610a84e.tar.gz talos-obmc-linux-7c40fb8db135288485f4f6226ceb69d64610a84e.zip |
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_uart.h')
-rw-r--r-- | drivers/bluetooth/hci_uart.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_uart.h b/drivers/bluetooth/hci_uart.h index 683153d2e9db..80e694a36143 100644 --- a/drivers/bluetooth/hci_uart.h +++ b/drivers/bluetooth/hci_uart.h @@ -57,6 +57,7 @@ struct hci_uart; struct hci_uart_proto { unsigned int id; + const char *name; int (*open)(struct hci_uart *hu); int (*close)(struct hci_uart *hu); int (*flush)(struct hci_uart *hu); |