On Thu, May 04, 2017 at 11:32:08PM +0300, Sakari Ailus wrote:
Hi Philipp,
On Thu, May 04, 2017 at 03:38:57PM +0200, Philipp Zabel wrote:
...
quoted
+static const struct of_device_id video_mux_dt_ids[] = {
+ { .compatible = "video-mux", },
+ { /* sentinel */ }
+};
+MODULE_DEVICE_TABLE(of, video_mux_dt_ids);
+
+static struct platform_driver video_mux_driver = {
Shouldn't this be const?
To reply myself --- no. Driver registration requires that, which makes
perfect sense. Please ignore the comment.
--
Sakari Ailus
e-mail: sakari.ailus-X3B1VOXEql0@public.gmane.org XMPP: sailus-PCDdDYkjdNMDXYZnReoRVg@public.gmane.org
--
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