Re: [PATCH 1/2] regulator: Add coupled regulator

Maxime Ripard
2015-12-01T21:30:47Z

[-- Attachment #1: Type: text/plain, Size: 907 bytes --]

Hi Javier,

On Mon, Nov 30, 2015 at 04:06:14PM -0300, Javier Martinez Canillas wrote:
> Hello Maxime,
>
> On Mon, Nov 30, 2015 at 12:29 PM, Maxime Ripard
> <maxime.ripard@free-electrons.com> wrote:
>
> [snip]
>
> >
> > +config REGULATOR_COUPLED_VOLTAGE
>
> Shouldn't this depend on OF?
>
> > + tristate "Coupled voltage regulator support"
>
> the Kconfig symbol is tristate so the driver can be built as a module...
>
> > +
> > +static struct of_device_id coupled_regulator_of_match[] = {
> > + { .compatible = "coupled-voltage-regulator" },
> > + { /* Sentinel */ },
> > +};
> > +
>
> ...but the driver is missing a MODULE_DEVICE_TABLE(of, ...) so module
> autoloading won't work.

You're right, it will be in the v2.

Thanks!
Maxime

--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]