[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABxcv=kn+jkQV2g=a+Sz8TdhMcvcQiBWsBuPejA159mm8WWB=w@mail.gmail.com>
Date: Mon, 30 Nov 2015 16:06:14 -0300
From: Javier Martinez Canillas <javier@...hile0.org>
To: Maxime Ripard <maxime.ripard@...e-electrons.com>
Cc: Mark Brown <broonie@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
Liam Girdwood <lgirdwood@...il.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Linux Kernel <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 1/2] regulator: Add coupled regulator
Hello Maxime,
On Mon, Nov 30, 2015 at 12:29 PM, Maxime Ripard
<maxime.ripard@...e-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.
Best regards,
Javier
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists