From: Luiz Augusto von Dentz Date: Mon, 6 Dec 2021 19:27:01 +0000 (-0800) Subject: Bluetooth: msft: Fix compilation when CONFIG_BT_MSFTEXT is not set X-Git-Tag: v6.1-rc5~2306^2~110^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a667031b9228222e7c577b39189caca5ca5bd96;p=platform%2Fkernel%2Flinux-starfive.git Bluetooth: msft: Fix compilation when CONFIG_BT_MSFTEXT is not set This fixes compilation when CONFIG_BT_MSFTEXT is not set. Fixes: 6b3d4c8fcf3f2 ("Bluetooth: hci_event: Use of a function table to handle HCI events") Signed-off-by: Luiz Augusto von Dentz Signed-off-by: Marcel Holtmann --- diff --git a/net/bluetooth/msft.h b/net/bluetooth/msft.h index 7fefc06..afcaf7d 100644 --- a/net/bluetooth/msft.h +++ b/net/bluetooth/msft.h @@ -39,7 +39,8 @@ static inline void msft_register(struct hci_dev *hdev) {} static inline void msft_unregister(struct hci_dev *hdev) {} static inline void msft_do_open(struct hci_dev *hdev) {} static inline void msft_do_close(struct hci_dev *hdev) {} -static inline void msft_vendor_evt(struct hci_dev *hdev, struct sk_buff *skb) {} +static inline void msft_vendor_evt(struct hci_dev *hdev, void *data, + struct sk_buff *skb) {} static inline __u64 msft_get_features(struct hci_dev *hdev) { return 0; } static inline int msft_add_monitor_pattern(struct hci_dev *hdev, struct adv_monitor *monitor)