From: Andy Shevchenko Date: Tue, 11 Nov 2025 10:53:20 +0000 (+0100) Subject: mfd: Kconfig: Drop OF dependency on MFD_MAX5970 X-Git-Tag: v6.19-rc1~142^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0ed6b6cce1abd1e57311584066e73d0ed877bef;p=thirdparty%2Fkernel%2Flinux.git mfd: Kconfig: Drop OF dependency on MFD_MAX5970 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 Link: https://patch.msgid.link/20251111105320.750131-1-andriy.shevchenko@linux.intel.com Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 58bfe32453a2d..aace5766b38aa 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -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.