Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

From
Steve Longerbeam <hidden>
Date
2017-01-26 01:22:46
Also in
linux-arm-kernel, linux-media, lkml
Reply to
Javier Martinez Canillas, 2017-01-24

On 01/24/2017 04:44 AM, Javier Martinez Canillas wrote:
Hello Steve,

On Fri, Jan 6, 2017 at 11:11 PM, Steve Longerbeam [off-list ref] wrote:
quoted
From: Philipp Zabel <redacted>
[snip]
quoted
+config VIDEO_MULTIPLEXER
+       tristate "Video Multiplexer"
+       depends on VIDEO_V4L2_SUBDEV_API && MEDIA_CONTROLLER
The driver can be build as a module...
quoted
+
+static const struct of_device_id vidsw_dt_ids[] = {
+       { .compatible = "video-multiplexer", },
+       { /* sentinel */ }
+};
+
... so you need a MODULE_DEVICE_TABLE(of, vidsw_dt_ids) here or
otherwise module autoloading won't work.
Hi Javier, thanks for catching, done.

Steve


--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Thread (188 messages) 188 messages, 12 authors, last reply 2017-02-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help