summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2024-03-25 03:57:29 +0100
committerHelge Deller <deller@gmx.de>2024-03-25 05:49:05 +0100
commitada5caa4e081b067736e872f2701e1c677290f22 (patch)
treeeab0681969b984c4dcd4c41a9777bd25dab60aa9 /include/video
parentLinux 6.9-rc1 (diff)
downloadlinux-ada5caa4e081b067736e872f2701e1c677290f22.tar.xz
linux-ada5caa4e081b067736e872f2701e1c677290f22.zip
fbdev: omap2: replace of_graph_get_next_endpoint()
From DT point of view, in general, drivers should be asking for a specific port number because their function is fixed in the binding. of_graph_get_next_endpoint() doesn't match to this concept. Simply replace - of_graph_get_next_endpoint(xxx, NULL); + of_graph_get_endpoint_by_regs(xxx, 0, -1); Link: https://lore.kernel.org/r/20240202174941.GA310089-robh@kernel.org Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapfb_dss.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/video/omapfb_dss.h b/include/video/omapfb_dss.h
index e8eaac2cb7b8..a8c0c3eeeb5b 100644
--- a/include/video/omapfb_dss.h
+++ b/include/video/omapfb_dss.h
@@ -819,9 +819,6 @@ struct device_node *
omapdss_of_get_next_endpoint(const struct device_node *parent,
struct device_node *prev);
-struct device_node *
-omapdss_of_get_first_endpoint(const struct device_node *parent);
-
struct omap_dss_device *
omapdss_of_find_source_for_first_ep(struct device_node *node);
#else