mfd: max77686: Allow driver to be built as a module
authorJavier Martinez Canillas <javier@osg.samsung.com>
Fri, 12 Feb 2016 04:30:18 +0000 (01:30 -0300)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 Mar 2016 08:50:38 +0000 (08:50 +0000)
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 <javier@osg.samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/Kconfig

index aa21dc55eb15bb8f929a8d6abbc678f88b6eb7f2..eea61e349e26afe4b0f9d52a3f036877f0e2403a 100644 (file)
@@ -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