diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2015-04-06 01:52:17 -0400 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2015-04-07 12:47:11 -0400 |
| commit | 6ae4fddf78c11dedfb13a518a9050e9b265529ca (patch) | |
| tree | 6b5c4cc2d6b503e2afd018192475fd626bd02392 /drivers/bluetooth | |
| parent | 34dced9bd6baf677fa6cfbfb65f002601a10d1e7 (diff) | |
Bluetooth: hci_uart: Move setup callback into different location
The setup callback got wrongly inserted between the enqueue and dequeue
callbacks. Move it to a better location.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth')
| -rw-r--r-- | drivers/bluetooth/hci_uart.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_uart.h b/drivers/bluetooth/hci_uart.h index ad03f57e794b..466798acf049 100644 --- a/drivers/bluetooth/hci_uart.h +++ b/drivers/bluetooth/hci_uart.h | |||
| @@ -61,9 +61,9 @@ struct hci_uart_proto { | |||
| 61 | int (*open)(struct hci_uart *hu); | 61 | int (*open)(struct hci_uart *hu); |
| 62 | int (*close)(struct hci_uart *hu); | 62 | int (*close)(struct hci_uart *hu); |
| 63 | int (*flush)(struct hci_uart *hu); | 63 | int (*flush)(struct hci_uart *hu); |
| 64 | int (*setup)(struct hci_uart *hu); | ||
| 64 | int (*recv)(struct hci_uart *hu, const void *data, int len); | 65 | int (*recv)(struct hci_uart *hu, const void *data, int len); |
| 65 | int (*enqueue)(struct hci_uart *hu, struct sk_buff *skb); | 66 | int (*enqueue)(struct hci_uart *hu, struct sk_buff *skb); |
| 66 | int (*setup)(struct hci_uart *hu); | ||
| 67 | struct sk_buff *(*dequeue)(struct hci_uart *hu); | 67 | struct sk_buff *(*dequeue)(struct hci_uart *hu); |
| 68 | }; | 68 | }; |
| 69 | 69 | ||
