Re: [PATCH 3/4] mfd: max77686: Allow driver to be built as a module

From: Lee Jones
Date: Mon Mar 07 2016 - 23:12:06 EST


On Fri, 12 Feb 2016, Javier Martinez Canillas wrote:

> 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@xxxxxxxxxxxxxxx>
> ---
>
> drivers/mfd/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 6c4ebd9f4cb6..005ace26230e 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -493,8 +493,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

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog