mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 22:22:08 +02:00
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>
This commit is contained in:
parent
bfe08a875a
commit
0eee53cdd9
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user