aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_ll.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-04-05 01:11:43 -0400
committerMarcel Holtmann <marcel@holtmann.org>2015-04-07 12:47:10 -0400
commit4ee7ef19894c0ac35cc6dc374d65658a26d7496a (patch)
tree433bc1e398bae66dba47afc0f8b98f71915b32b1 /drivers/bluetooth/hci_ll.c
parent2d7cc19eebc182dbdda228aa26eb5bfff97ac072 (diff)
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_ll.c')
-rw-r--r--drivers/bluetooth/hci_ll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_ll.c b/drivers/bluetooth/hci_ll.c
index 79eea1cbd988..e66f0fa65485 100644
--- a/drivers/bluetooth/hci_ll.c
+++ b/drivers/bluetooth/hci_ll.c
@@ -505,7 +505,7 @@ static struct sk_buff *ll_dequeue(struct hci_uart *hu)
505 return skb_dequeue(&ll->txq); 505 return skb_dequeue(&ll->txq);
506} 506}
507 507
508static struct hci_uart_proto llp = { 508static const struct hci_uart_proto llp = {
509 .id = HCI_UART_LL, 509 .id = HCI_UART_LL,
510 .open = ll_open, 510 .open = ll_open,
511 .close = ll_close, 511 .close = ll_close,