diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-05-26 18:32:20 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-06-29 11:14:44 +0200 |
commit | 59a9b273e3049c8c3b915dc70ebcf13d1f942230 (patch) | |
tree | 5e72197c460d67221ff829c5b21046f7800c4bda /drivers/mfd | |
parent | mfd: max14577: Use module_init() instead of subsys_initcall() (diff) | |
download | linux-59a9b273e3049c8c3b915dc70ebcf13d1f942230.tar.xz linux-59a9b273e3049c8c3b915dc70ebcf13d1f942230.zip |
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 <k.kozlowski@samsung.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
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 |