Bluetooth: hci_qca: mark OF related data as maybe unused
authorSteev Klimaszewski <steev@kali.org>
Wed, 12 Apr 2023 23:58:17 +0000 (18:58 -0500)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 24 Apr 2023 05:02:43 +0000 (22:02 -0700)
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>
drivers/bluetooth/hci_qca.c

index 1597797..1b06450 100644 (file)
@@ -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 },