Skip to content

Commit b0ed6b6

Browse files
andy-shevlag-linaro
authored andcommitted
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 <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>
1 parent 3696ac1 commit b0ed6b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mfd/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ config MFD_88PM886_PMIC
896896

897897
config MFD_MAX5970
898898
tristate "Maxim 5970/5978 power switch and monitor"
899-
depends on I2C && OF
899+
depends on I2C
900900
select MFD_SIMPLE_MFD_I2C
901901
help
902902
This driver controls a Maxim 5970/5978 switch via I2C bus.

0 commit comments

Comments
 (0)