From: Axel Lin Date: Mon, 25 Mar 2019 10:59:19 +0000 (+0800) Subject: regulator: uniphier: Fix build dependency X-Git-Tag: v5.15~6188^2~74 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a71bcdfe6476b66cf6c632b1a4d0bdcb046e3d82;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 6d2651c..c4dc2bc 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.