* [PATCH] Bluetooth: hci_qca: mark OF related data as maybe unused
@ 2023-04-12 23:58 Steev Klimaszewski
2023-04-14 20:10 ` patchwork-bot+bluetooth
0 siblings, 1 reply; 2+ messages in thread
From: Steev Klimaszewski @ 2023-04-12 23:58 UTC (permalink / raw)
To: Marcel Holtmann, Johan Hedberg, Luiz Augusto von Dentz
Cc: linux-bluetooth, linux-kernel, Steev Klimaszewski
The driver can be compile tested with !CONFIG_OF making certain data
unused.
Signed-off-by: Steev Klimaszewski <steev@kali.org>
---
There was a patch to mark OF related data as maybe unused in flight when
I was doing my bluetooth driver work and I didn't notice it. Since I
don't build on !CONFIG_OF systems, I hadn't seen the warning. This
patch simply marks our data as maybe unused as well.
---
drivers/bluetooth/hci_qca.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 1597797ff169..1b064504b388 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 },
---
base-commit: 7d8214bba44c1aa6a75921a09a691945d26a8d43
change-id: 20230412-bluetooth-c7590ef622d3
Best regards,
--
Steev Klimaszewski <steev@kali.org>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Bluetooth: hci_qca: mark OF related data as maybe unused
2023-04-12 23:58 [PATCH] Bluetooth: hci_qca: mark OF related data as maybe unused Steev Klimaszewski
@ 2023-04-14 20:10 ` patchwork-bot+bluetooth
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+bluetooth @ 2023-04-14 20:10 UTC (permalink / raw)
To: Steev Klimaszewski
Cc: marcel, johan.hedberg, luiz.dentz, linux-bluetooth, linux-kernel
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Wed, 12 Apr 2023 18:58:17 -0500 you wrote:
> The driver can be compile tested with !CONFIG_OF making certain data
> unused.
>
> Signed-off-by: Steev Klimaszewski <steev@kali.org>
> ---
> There was a patch to mark OF related data as maybe unused in flight when
> I was doing my bluetooth driver work and I didn't notice it. Since I
> don't build on !CONFIG_OF systems, I hadn't seen the warning. This
> patch simply marks our data as maybe unused as well.
>
> [...]
Here is the summary with links:
- Bluetooth: hci_qca: mark OF related data as maybe unused
https://git.kernel.org/bluetooth/bluetooth-next/c/875d76c2f7c1
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-14 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-12 23:58 [PATCH] Bluetooth: hci_qca: mark OF related data as maybe unused Steev Klimaszewski
2023-04-14 20:10 ` patchwork-bot+bluetooth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox