Bluetooth: btintel: Fix compiler warning for multi_v7_defconfig config
authorKiran K <kiran.k@intel.com>
Wed, 8 May 2024 09:59:27 +0000 (15:29 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 14 May 2024 14:56:16 +0000 (10:56 -0400)
commit36b1c9c35452d043ce2239a65393b3e7ee7101c5
treeea58b50d4d1fe28ef32f34aa9dfee3b9b5b9347d
parenta18d28f53ab42c0b5a802d7dc193ffb75e8e32ff
Bluetooth: btintel: Fix compiler warning for multi_v7_defconfig config

Fix the following compiler warning reported for ARCH=arm
multi_v7_defconfig.

In file included from drivers/bluetooth/hci_ldisc.c:34:
drivers/bluetooth/btintel.h:373:13: warning: 'btintel_hw_error' defined
but not used [-Wunused-function]
  373 | static void btintel_hw_error(struct hci_dev *hdev, u8 code)
      |             ^~~~~~~~~~~~~~~~

cc: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 67d4dbac3b8c ("Bluetooth: btintel: Export few static functions")
Signed-off-by: Kiran K <kiran.k@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btintel.h