summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-03-02 14:55:18 +0300
committerMark Brown <broonie@kernel.org>2020-03-02 17:48:11 +0300
commit6179b0e90cbc0117cd4ff994bc24f4ea417b11d7 (patch)
tree503d18a1cc11601941dc02453732d8ddb8cfb544 /drivers/regulator
parentb5f25304aece9f2e7eaab275bbb5461c666bf38c (diff)
downloadlinux-6179b0e90cbc0117cd4ff994bc24f4ea417b11d7.tar.xz
regulator: anatop: Improve Kconfig dependency
ANATOP regulator should depend on ARCH_MXC or COMPILE_TEST. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Link: https://lore.kernel.org/r/1583150118-8014-1-git-send-email-Anson.Huang@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index b8ae513514a8..64a39f34ef37 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -107,6 +107,7 @@ config REGULATOR_AD5398
config REGULATOR_ANATOP
tristate "Freescale i.MX on-chip ANATOP LDO regulators"
+ depends on ARCH_MXC || COMPILE_TEST
depends on MFD_SYSCON
help
Say y here to support Freescale i.MX on-chip ANATOP LDOs