diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-04-05 07:11:43 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-04-07 18:47:10 +0200 |
commit | 4ee7ef19894c0ac35cc6dc374d65658a26d7496a (patch) | |
tree | 433bc1e398bae66dba47afc0f8b98f71915b32b1 /drivers/bluetooth/hci_h5.c | |
parent | Bluetooth: Remove hci_recv_stream_fragment function (diff) | |
download | linux-4ee7ef19894c0ac35cc6dc374d65658a26d7496a.tar.xz linux-4ee7ef19894c0ac35cc6dc374d65658a26d7496a.zip |
Bluetooth: hci_uart: Make struct hci_uart_proto always const
The usage of struct hci_uart_proto should always be const. Change the
function headers and individual protocol drivers.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c index 0f681cc1af64..aac0e8f718b0 100644 --- a/drivers/bluetooth/hci_h5.c +++ b/drivers/bluetooth/hci_h5.c @@ -743,7 +743,7 @@ static int h5_flush(struct hci_uart *hu) return 0; } -static struct hci_uart_proto h5p = { +static const struct hci_uart_proto h5p = { .id = HCI_UART_3WIRE, .open = h5_open, .close = h5_close, |