The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] soc: qcom: make QCOM_PDR_MSG selectable
@ 2026-08-18  9:41 Arnd Bergmann
  2026-08-18 10:34 ` Konrad Dybcio
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2026-08-18  9:41 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski
  Cc: Arnd Bergmann, Daniel Baluta, linux-arm-msm, linux-kernel

From: Arnd Bergmann <arnd@arndb.de>

Selecting QCOM_PDR_HELPERS from outside of a CONFIG_QCOM_SOC
block causes a build warning:

WARNING: unmet direct dependencies detected for QCOM_PDR_MSG
  Depends on [n]: QCOM_SOC [=n]
  Selected by [y]:
  - QCOM_PDR_HELPERS [=y] && NET [=y]

Avoid this by allowing QCOM_PDR_MSG to be selected as well.

Fixes: f2866e6a27f7 ("soc: qcom: Hide all drivers behind selectable menu")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
I noticed this after some last minute testing and would like
to include it in my pull request for 7.3 to have fewer regression
fixes.
---
 drivers/soc/qcom/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
index e0629e9328c8..2b524154d9fb 100644
--- a/drivers/soc/qcom/Kconfig
+++ b/drivers/soc/qcom/Kconfig
@@ -90,9 +90,6 @@ config QCOM_PD_MAPPER
 	  implementation of the service. It is a simpler alternative to the
 	  userspace daemon.
 
-config QCOM_PDR_MSG
-	tristate
-
 config QCOM_PMIC_PDCHARGER_ULOG
 	tristate "Qualcomm PMIC PDCharger ULOG driver"
 	depends on RPMSG
@@ -315,6 +312,9 @@ config QCOM_PDR_HELPERS
 	select QCOM_PDR_MSG
 	depends on NET
 
+config QCOM_PDR_MSG
+	tristate
+
 config QCOM_QMI_HELPERS
 	tristate
 	depends on NET
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] soc: qcom: make QCOM_PDR_MSG selectable
  2026-08-18  9:41 [PATCH] soc: qcom: make QCOM_PDR_MSG selectable Arnd Bergmann
@ 2026-08-18 10:34 ` Konrad Dybcio
  0 siblings, 0 replies; 2+ messages in thread
From: Konrad Dybcio @ 2026-08-18 10:34 UTC (permalink / raw)
  To: Arnd Bergmann, Bjorn Andersson, Konrad Dybcio,
	Krzysztof Kozlowski
  Cc: Arnd Bergmann, Daniel Baluta, linux-arm-msm, linux-kernel

On 8/18/26 11:41 AM, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> Selecting QCOM_PDR_HELPERS from outside of a CONFIG_QCOM_SOC
> block causes a build warning:
> 
> WARNING: unmet direct dependencies detected for QCOM_PDR_MSG
>   Depends on [n]: QCOM_SOC [=n]
>   Selected by [y]:
>   - QCOM_PDR_HELPERS [=y] && NET [=y]
> 
> Avoid this by allowing QCOM_PDR_MSG to be selected as well.
> 
> Fixes: f2866e6a27f7 ("soc: qcom: Hide all drivers behind selectable menu")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---

Acked-by: Konrad Dybcio <konradybcio@kernel.org>

Konrad

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-18 10:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-18  9:41 [PATCH] soc: qcom: make QCOM_PDR_MSG selectable Arnd Bergmann
2026-08-18 10:34 ` Konrad Dybcio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox