Re: [PATCH 3/3] mfd: STw481x: allow modular build

From: Lee Jones
Date: Fri Jun 06 2014 - 02:54:46 EST


On Thu, 05 Jun 2014, Arnd Bergmann wrote:

> This driver depends on I2C, which may be a loadable module.
> While you'd probably want both to be built-in in practice,
> allowing a modular build avoids possible randconfig link
> errors.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> drivers/mfd/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 2dd838f..6cc4b6a 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -1226,7 +1226,7 @@ config MFD_WM8994
> functionaltiy of the device other drivers must be enabled.
>
> config MFD_STW481X
> - bool "Support for ST Microelectronics STw481x"
> + tristate "Support for ST Microelectronics STw481x"
> depends on I2C && ARCH_NOMADIK
> select REGMAP_I2C
> select MFD_CORE

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/