]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
soc: qcom: make QCOM_PDR_MSG selectable
authorArnd Bergmann <arnd@arndb.de>
Tue, 18 Aug 2026 07:47:43 +0000 (09:47 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 18 Aug 2026 09:41:56 +0000 (11:41 +0200)
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>
drivers/soc/qcom/Kconfig

index e0629e9328c871ee7ed02e789b7833d854c98ea9..2b524154d9fb331199fb162e43b0acfc03eced6b 100644 (file)
@@ -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