Re: [PATCH] mfd: da9063: Allow modular build

From: Lee Jones
Date: Tue Dec 08 2015 - 08:56:16 EST


On Mon, 07 Dec 2015, Geert Uytterhoeven wrote:

> Allow support for the DA9063 PMIC to be modular, cfr. DA9062, which
> allows to decrease size of multi-platform kernels (e.g.
> multi_v7_defconfig).
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---
> drivers/mfd/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

The DA9063 driver appears to contain all module code. In fact, I'm
surprised that it wasn't enabled for tristate in the first place.

In any case, it would be good to get a Reviewed/Acked-by from one of
the Dialog guys.

> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index 4d92df6ef9fe92ac..527ee7168617c933 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -211,7 +211,7 @@ config MFD_DA9062
> of the device.
>
> config MFD_DA9063
> - bool "Dialog Semiconductor DA9063 PMIC Support"
> + tristate "Dialog Semiconductor DA9063 PMIC Support"
> select MFD_CORE
> select REGMAP_I2C
> select REGMAP_IRQ

--
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/