Thread (9 messages) 9 messages, 4 authors, 2015-12-01

[PATCH 1/2] regulator: Add coupled regulator

From: Maxime Ripard <hidden>
Date: 2015-12-01 21:30:47
Also in: linux-devicetree, lkml

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
[off-list ref] wrote:

[snip]
quoted
+config REGULATOR_COUPLED_VOLTAGE
Shouldn't this depend on OF?
quoted
+       tristate "Coupled voltage regulator support"
the Kconfig symbol is tristate so the driver can be built as a module...
quoted
+
+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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151201/a6140099/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help