From: Javier Martinez Canillas Date: Fri, 12 Feb 2016 04:30:18 +0000 (-0300) Subject: mfd: max77686: Allow driver to be built as a module X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a52e46ce9c3f847925707a601dc10e9af943bc26;p=openwrt%2Fstaging%2Fblogic.git mfd: max77686: Allow driver to be built as a module The driver's Kconfig symbol is a boolean but nothing prevents the driver to be built as a module instead of built-in. It is true that most system integrators will choose the latter but the config should not restrict it. Signed-off-by: Javier Martinez Canillas Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index aa21dc55eb15..eea61e349e26 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -528,8 +528,8 @@ config MFD_MAX14577 of the device. config MFD_MAX77686 - bool "Maxim Semiconductor MAX77686/802 PMIC Support" - depends on I2C=y + tristate "Maxim Semiconductor MAX77686/802 PMIC Support" + depends on I2C depends on OF select MFD_CORE select REGMAP_I2C