Skip to content

Commit 36b1c9c

Browse files
kirankrishnappa-intelVudentz
authored andcommitted
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 <[email protected]> Fixes: 67d4dba ("Bluetooth: btintel: Export few static functions") Signed-off-by: Kiran K <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
1 parent a18d28f commit 36b1c9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/bluetooth/btintel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ static inline int btintel_shutdown_combined(struct hci_dev *hdev)
370370
return -ENODEV;
371371
}
372372

373-
static void btintel_hw_error(struct hci_dev *hdev, u8 code)
373+
static inline void btintel_hw_error(struct hci_dev *hdev, u8 code)
374374
{
375375
}
376376
#endif

0 commit comments

Comments
 (0)