aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorSteev Klimaszewski <steev@kali.org>2023-04-12 18:58:17 -0500
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-04-23 22:02:43 -0700
commit0811ff480978a2122f0465cb8682d9f7a2f6a169 (patch)
tree20cb42c79fc3c1486d594c71e316f1a1800b2d00 /drivers/bluetooth
parent9e3c2ea67a4c24f7a7517e863e3adc89c4e3b66d (diff)
downloadlinux-0811ff480978a2122f0465cb8682d9f7a2f6a169.tar.gz
Bluetooth: hci_qca: mark OF related data as maybe unused
The driver can be compile tested with !CONFIG_OF making certain data unused. Signed-off-by: Steev Klimaszewski <steev@kali.org> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r--drivers/bluetooth/hci_qca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 1597797ff1693d..1b064504b38875 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -1891,7 +1891,7 @@ static const struct qca_device_data qca_soc_data_wcn6750 __maybe_unused = {
.capabilities = QCA_CAP_WIDEBAND_SPEECH | QCA_CAP_VALID_LE_STATES,
};
-static const struct qca_device_data qca_soc_data_wcn6855 = {
+static const struct qca_device_data qca_soc_data_wcn6855 __maybe_unused = {
.soc_type = QCA_WCN6855,
.vregs = (struct qca_vreg []) {
{ "vddio", 5000 },