From: Javier Martinez Canillas Date: Thu, 26 May 2016 16:32:20 +0000 (-0400) Subject: mfd: max14577: Allow driver to be built as a module X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=59a9b273e3049c8c3b915dc70ebcf13d1f942230;p=linux-beck.git mfd: max14577: 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. Suggested-by: Krzysztof Kozlowski Signed-off-by: Javier Martinez Canillas Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 9402399bb3d6..48ed14ae9651 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -535,8 +535,8 @@ config MFD_88PM860X battery-charger under the corresponding menus. config MFD_MAX14577 - bool "Maxim Semiconductor MAX14577/77836 MUIC + Charger Support" - depends on I2C=y + tristate "Maxim Semiconductor MAX14577/77836 MUIC + Charger Support" + depends on I2C select MFD_CORE select REGMAP_I2C select REGMAP_IRQ