diff options
author | Mark Brown <broonie@kernel.org> | 2022-07-07 12:17:53 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-07-07 12:23:44 +0100 |
commit | 79152fc74ff664e2912abe17f21c42d7c49c90c9 (patch) | |
tree | dc63ffc50105f9aaf9285bb12232547aa5b64edd /drivers/regulator/Kconfig | |
parent | d08412328e4ff4928a60438e62e34e67f687a740 (diff) | |
download | linux-stable-79152fc74ff664e2912abe17f21c42d7c49c90c9.tar.gz linux-stable-79152fc74ff664e2912abe17f21c42d7c49c90c9.tar.bz2 linux-stable-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/Kconfig')
-rw-r--r-- | drivers/regulator/Kconfig | 2 |
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 |