diff options
author | Abhishek Pandit-Subedi <abhishekpandit@chromium.org> | 2019-12-26 20:03:40 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-01-04 10:41:03 +0100 |
commit | 5bd64c645fc660734f172be4bba449952ed84ce2 (patch) | |
tree | 6be9adb31020fca279d5e74810bdc9477f476af1 /drivers/bluetooth | |
parent | Bluetooth: hci_qca: Replace of_device_get_match_data with device_get_match_data (diff) | |
download | linux-5bd64c645fc660734f172be4bba449952ed84ce2.tar.xz linux-5bd64c645fc660734f172be4bba449952ed84ce2.zip |
Bluetooth: btbcm: Add missing static inline in header
This fixes a double definition error when CONFIG_BT_BCM is not set.
Fixes: 528379902337 ("Bluetooth: btbcm: Support pcm configuration")
Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r-- | drivers/bluetooth/btbcm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/btbcm.h b/drivers/bluetooth/btbcm.h index 3c7dd0765837..014ef847a486 100644 --- a/drivers/bluetooth/btbcm.h +++ b/drivers/bluetooth/btbcm.h @@ -78,13 +78,13 @@ static inline int btbcm_set_bdaddr(struct hci_dev *hdev, const bdaddr_t *bdaddr) return -EOPNOTSUPP; } -int btbcm_read_pcm_int_params(struct hci_dev *hdev, +static inline int btbcm_read_pcm_int_params(struct hci_dev *hdev, struct bcm_set_pcm_int_params *params) { return -EOPNOTSUPP; } -int btbcm_write_pcm_int_params(struct hci_dev *hdev, +static inline int btbcm_write_pcm_int_params(struct hci_dev *hdev, const struct bcm_set_pcm_int_params *params) { return -EOPNOTSUPP; |