aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btintel.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-07-05 09:02:07 -0400
committerMarcel Holtmann <marcel@holtmann.org>2015-07-23 11:10:50 -0400
commit7feb99e1308204e4d849dada3443bc410ce5026b (patch)
treebda1dc9655e5453a544db5daa4b34c16b496b3ec /drivers/bluetooth/btintel.h
parent09df123d2d128c52987f11c85397cdbc9ffc89c6 (diff)
Bluetooth: btintel: Create common function for Intel version info
The Intel version information is shared between USB and UART drivers and with that move it into a generic function of the Intel module. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth/btintel.h')
-rw-r--r--drivers/bluetooth/btintel.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/bluetooth/btintel.h b/drivers/bluetooth/btintel.h
index ec89e3cb645f..b278d14758d5 100644
--- a/drivers/bluetooth/btintel.h
+++ b/drivers/bluetooth/btintel.h
@@ -75,6 +75,7 @@ int btintel_check_bdaddr(struct hci_dev *hdev);
75int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr); 75int btintel_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr);
76void btintel_hw_error(struct hci_dev *hdev, u8 code); 76void btintel_hw_error(struct hci_dev *hdev, u8 code);
77 77
78void btintel_version_info(struct hci_dev *hdev, struct intel_version *ver);
78int btintel_secure_send(struct hci_dev *hdev, u8 fragment_type, u32 plen, 79int btintel_secure_send(struct hci_dev *hdev, u8 fragment_type, u32 plen,
79 const void *param); 80 const void *param);
80 81
@@ -94,6 +95,10 @@ static inline void btintel_hw_error(struct hci_dev *hdev, u8 code)
94{ 95{
95} 96}
96 97
98static void btintel_version_info(struct hci_dev *hdev, struct intel_version *ver)
99{
100}
101
97static inline int btintel_secure_send(struct hci_dev *hdev, u8 fragment_type, 102static inline int btintel_secure_send(struct hci_dev *hdev, u8 fragment_type,
98 u32 plen, const void *param) 103 u32 plen, const void *param)
99{ 104{