From: Steev Klimaszewski Date: Wed, 12 Apr 2023 23:58:17 +0000 (-0500) Subject: Bluetooth: hci_qca: mark OF related data as maybe unused X-Git-Tag: v6.6.7~2736^2~57^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0811ff480978a2122f0465cb8682d9f7a2f6a169;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Luiz Augusto von Dentz --- diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c index 1597797..1b06450 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 },