[PATCH] soc: qcom: PDR_HELPERS, PDR_MSG are independent of QCOM_SOC

From: Randy Dunlap

Date: Mon Jul 27 2026 - 17:16:58 EST


Currently QCOM_PDR_MSG depends on QCOM_SOC (it's inside the
"if QCOM_SOC" block). It appears to be independent of QCOM_SOC, as
though it was entered in the wrong location in the Kconfig file.

Moving QCOM_PDR_MSG after the end of the QCOM_SOC block fixes the
kconfig unmet dependencies warning and survives both randconfig and
allmodconfig builds.

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

Caused by SLIM_QCOM_NGD_CTRL selecting QCOM_PDR_HELPERS.

Fixes: 0ac5c7d933de ("soc: qcom: pdr: extract PDR message marshalling data")
Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
---
Cc: Bjorn Andersson <andersson@xxxxxxxxxx>
Cc: Konrad Dybcio <konradybcio@xxxxxxxxxx>
Cc: linux-arm-msm@xxxxxxxxxxxxxxx
Cc: Dmitry Baryshkov <lumag@xxxxxxxxxx>
Cc: Arnd Bergmann <arnd@xxxxxxxx>

drivers/soc/qcom/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-next-20260726.orig/drivers/soc/qcom/Kconfig
+++ linux-next-20260726/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
@@ -297,6 +294,9 @@ endif
# Options selected by other drivers from different subsystems must be outside
# of the menuconfig if-block:

+config QCOM_PDR_MSG
+ tristate
+
config QCOM_INLINE_CRYPTO_ENGINE
tristate
select QCOM_SCM