Skip to contentSkip to conversation

soc: qcom: make QCOM_PDR_MSG selectable

PATCH In review Arnd Bergmann 2 participants 2 messages Aug 18

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 soc: qcom: make QCOM_PDR_MSG selectable

From: Arnd Bergmann <[email protected]>

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")

---
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(-)
drivers/soc/qcom/Kconfig +3 -3
index e0629e9328c8..2b524154d9fb 100644
@@ -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
Signature · 1 line
2.39.5
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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]

Quoted 5 lines

Avoid this by allowing QCOM_PDR_MSG to be selected as well.

Fixes f2866e6a27f7 ("soc: qcom: Hide all drivers behind selectable menu")

---

Konrad