OSDN Git Service

soc/tegra: pmc: Select REGMAP
authorThierry Reding <treding@nvidia.com>
Wed, 4 May 2022 09:08:14 +0000 (11:08 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 4 May 2022 09:09:49 +0000 (11:09 +0200)
Commit 9d5e7c3e36eb ("soc/tegra: pmc: Provide USB sleepwalk register
map") introduced a dependency on the regmap infrastructure, so select
the corresponding Kconfig entry. This avoids failures in random builds
that may otherwise end up having SOC_TEGRA_PMC enabled but not REGMAP.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/soc/tegra/Kconfig

index 8b53ed1..5725c8e 100644 (file)
@@ -146,6 +146,7 @@ config SOC_TEGRA_PMC
        select GENERIC_PINCONF
        select PM_OPP
        select PM_GENERIC_DOMAINS
+       select REGMAP
 
 config SOC_TEGRA_POWERGATE_BPMP
        def_bool y