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

[PATCH 1/2] regulator: Add coupled regulator

From: javier@dowhile0.org (Javier Martinez Canillas)
Date: 2015-11-30 19:06:17
Also in: linux-devicetree, lkml

Hello Maxime,

On Mon, Nov 30, 2015 at 12:29 PM, Maxime Ripard
[off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help