aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-07-07 12:17:53 +0100
committerMark Brown <broonie@kernel.org>2022-07-07 12:23:44 +0100
commit79152fc74ff664e2912abe17f21c42d7c49c90c9 (patch)
treedc63ffc50105f9aaf9285bb12232547aa5b64edd /drivers/regulator
parentregulator: Fix parameter declaration and spelling mistake. (diff)
downloadlinux-dev-79152fc74ff664e2912abe17f21c42d7c49c90c9.tar.xz
linux-dev-79152fc74ff664e2912abe17f21c42d7c49c90c9.zip
regulator: Fix MFD_MAX597X dependency
Drivers should depend on rather than select their MFDs. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20220707111753.16581-1-broonie@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index aedc4cba9240..23e3e4a35cc9 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -550,7 +550,7 @@ config REGULATOR_MAX597X
tristate "Maxim 597x power switch and monitor"
depends on I2C
depends on OF
- select MFD_MAX597X
+ depends on MFD_MAX597X
help
This driver controls a Maxim 5970/5978 switch via I2C bus.
The MAX5970/5978 is a smart switch with no output regulation, but