projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e3c2ea
)
Bluetooth: hci_qca: mark OF related data as maybe unused
author
Steev Klimaszewski
<steev@kali.org>
Wed, 12 Apr 2023 23:58:17 +0000
(18:58 -0500)
committer
Luiz 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
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/hci_qca.c
b/drivers/bluetooth/hci_qca.c
index 1597797ff1693d02489b1ad55280702854d4bc92..1b064504b3887522f50ecc19b5d578863399baed 100644
(file)
--- 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 },