aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGuillaume La Roque <glaroque@baylibre.com>2025-07-15 10:50:08 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2025-07-15 16:08:19 +0200
commitfcddcb7e8f38a40db99f87a962c5d0a153a76566 (patch)
tree83325daffce81311aea9d84386abdeca983bcf48
parentpmdomain: sunxi: sun20i-ppu: change to tristate and enable for ARCH_SUNXI (diff)
downloadwireguard-linux-fcddcb7e8f38a40db99f87a962c5d0a153a76566.tar.xz
wireguard-linux-fcddcb7e8f38a40db99f87a962c5d0a153a76566.zip
pmdomain: ti: Select PM_GENERIC_DOMAINS
Select PM_GENERIC_DOMAINS instead of depending on it to ensure it is always enabled when TI_SCI_PM_DOMAINS is selected. Since PM_GENERIC_DOMAINS is an implicit symbol, it can only be enabled through 'select' and cannot be explicitly enabled in configuration. This simplifies the dependency chain and prevents build issues Signed-off-by: Guillaume La Roque <glaroque@baylibre.com> Reviewed-by: Nishanth Menon <nm@ti.com> Link: https://lore.kernel.org/r/20250715-depspmdomain-v2-1-6f0eda3ce824@baylibre.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--drivers/pmdomain/ti/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pmdomain/ti/Kconfig b/drivers/pmdomain/ti/Kconfig
index 67c608bf7ed0..5386b362a7ab 100644
--- a/drivers/pmdomain/ti/Kconfig
+++ b/drivers/pmdomain/ti/Kconfig
@@ -10,7 +10,7 @@ if SOC_TI
config TI_SCI_PM_DOMAINS
tristate "TI SCI PM Domains Driver"
depends on TI_SCI_PROTOCOL
- depends on PM_GENERIC_DOMAINS
+ select PM_GENERIC_DOMAINS if PM
help
Generic power domain implementation for TI device implementing
the TI SCI protocol.