summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorVincent Stehlé <vincent.stehle@laposte.net>2015-09-03 23:08:45 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-09-17 13:20:05 +0200
commit0eee53cdd985772284a14b21088e7677aeca45f9 (patch)
tree0ee7509aac82f0618434e3c9d3096c8417ea96bc /drivers/bluetooth
parentbfe08a875a8903c0abb1ef5d57722252d14ede2e (diff)
downloadblackbird-obmc-linux-0eee53cdd985772284a14b21088e7677aeca45f9.tar.gz
blackbird-obmc-linux-0eee53cdd985772284a14b21088e7677aeca45f9.zip
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')
-rw-r--r--drivers/bluetooth/btintel.h3
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)
{
}
OpenPOWER on IntegriCloud