diff options
author | Vincent Stehlé <vincent.stehle@laposte.net> | 2015-09-04 00:08:45 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-09-17 14:20:05 +0300 |
commit | 0eee53cdd985772284a14b21088e7677aeca45f9 (patch) | |
tree | 0ee7509aac82f0618434e3c9d3096c8417ea96bc /drivers/bluetooth/btintel.h | |
parent | bfe08a875a8903c0abb1ef5d57722252d14ede2e (diff) | |
download | linux-0eee53cdd985772284a14b21088e7677aeca45f9.tar.xz |
Bluetooth: btintel: fix warning
Fix compilation the following compilation warning, which happens when
CONFIG_BT_INTEL is not set:
drivers/bluetooth/btintel.h:98:13: warning: ‘btintel_version_info’
defined but not used [-Wunused-function]
static void btintel_version_info(struct hci_dev *hdev,
struct intel_version *ver)
^
Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btintel.h')
-rw-r--r-- | drivers/bluetooth/btintel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/bluetooth/btintel.h b/drivers/bluetooth/btintel.h index b278d14758d5..a49c8dbbb4b7 100644 --- a/drivers/bluetooth/btintel.h +++ b/drivers/bluetooth/btintel.h @@ -95,7 +95,8 @@ static inline void btintel_hw_error(struct hci_dev *hdev, u8 code) { } -static void btintel_version_info(struct hci_dev *hdev, struct intel_version *ver) +static inline void btintel_version_info(struct hci_dev *hdev, + struct intel_version *ver) { } |