]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mfd: max14577: Allow driver to be built as a module
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 26 May 2016 16:32:20 +0000 (12:32 -0400)
committerLee Jones <lee.jones@linaro.org>
Wed, 29 Jun 2016 09:14:44 +0000 (10:14 +0100)
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 <k.kozlowski@samsung.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig

index 9402399bb3d6646291c323d1e476101e0b1dc7b5..48ed14ae9651fe16e1a0e2334b5925353d52751f 100644 (file)
@@ -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