Re: [RESEND RFT PATCH 2/2] mfd: max14577: Allow driver to be built as a module

From: Javier Martinez Canillas
Date: Thu Jun 16 2016 - 09:48:56 EST


Hello Lee,

On 06/16/2016 06:40 AM, Lee Jones wrote:
> On Thu, 26 May 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.
>
> Does the driver have all of the module related code?
>

Yes, it always did (even has a MODULE_DEVICE_TABLE so autoload should work)
but is just that the Kconfig symbol was bool instead of tristate since most
system integrators will choose to have it built-in.

Best regards,
--
Javier Martinez Canillas
Open Source Group
Samsung Research America