From 79152fc74ff664e2912abe17f21c42d7c49c90c9 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 7 Jul 2022 12:17:53 +0100 Subject: [PATCH] regulator: Fix MFD_MAX597X dependency Drivers should depend on rather than select their MFDs. Reported-by: Stephen Rothwell Signed-off-by: Mark Brown Link: https://lore.kernel.org/r/20220707111753.16581-1-broonie@kernel.org Signed-off-by: Mark Brown --- drivers/regulator/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index aedc4cb..23e3e4a 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 -- 2.7.4