]> Gentwo Git Trees - linux/.git/commitdiff
mfd: Kconfig: Drop OF dependency on MFD_MAX5970
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 11 Nov 2025 10:53:20 +0000 (11:53 +0100)
committerLee Jones <lee@kernel.org>
Wed, 19 Nov 2025 15:39:11 +0000 (15:39 +0000)
This is the only Kconfig symbol that depends on OF while selecting the common
driver for several chips. Drop this unneeded dependency and make the component
available on non-OF systems along with wider compile test.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20251111105320.750131-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/Kconfig

index 58bfe32453a2d43a6b31338f861a1f176d77a7c4..aace5766b38aa5e46e32a8a7b42eea238159fbcf 100644 (file)
@@ -896,7 +896,7 @@ config MFD_88PM886_PMIC
 
 config MFD_MAX5970
        tristate "Maxim 5970/5978 power switch and monitor"
-       depends on I2C && OF
+       depends on I2C
        select MFD_SIMPLE_MFD_I2C
        help
          This driver controls a Maxim 5970/5978 switch via I2C bus.