summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2019-03-25 11:59:19 +0100
committerMark Brown <broonie@kernel.org>2019-03-25 13:12:24 +0100
commita71bcdfe6476b66cf6c632b1a4d0bdcb046e3d82 (patch)
tree94868aea1541e2e0c0b730eb9334c6242cb57d1e /drivers/regulator/Kconfig
parentregulator: tps65086: Fix tps65086_ldoa1_ranges for selector 0xB (diff)
downloadlinux-a71bcdfe6476b66cf6c632b1a4d0bdcb046e3d82.tar.xz
linux-a71bcdfe6476b66cf6c632b1a4d0bdcb046e3d82.zip
regulator: uniphier: Fix build dependency
This driver does not use any syscon APIs, so remove MFD_SYSCON dependency. Select REGMAP_MMIO since this driver uses devm_regmap_init_mmio(). Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r--drivers/regulator/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 6d2651cd9887..c4dc2bcafb56 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -1011,7 +1011,8 @@ config REGULATOR_TWL4030
config REGULATOR_UNIPHIER
tristate "UniPhier regulator driver"
depends on ARCH_UNIPHIER || COMPILE_TEST
- depends on OF && MFD_SYSCON
+ depends on OF
+ select REGMAP_MMIO
default ARCH_UNIPHIER
help
Support for regulators implemented on Socionext UniPhier SoCs.