summaryrefslogtreecommitdiffstats
path: root/include/of_graph.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-11-09 23:36:04 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-13 08:38:18 +0200
commit6913850321aaa3464ab3dad7b05ff06d02462ec8 (patch)
treee4df2b195ae2e21c099234c60f904d23389299ea /include/of_graph.h
parentcc44a37924447f5e0cd2bf6900280a43ccbd7e50 (diff)
downloadbarebox-6913850321aaa3464ab3dad7b05ff06d02462ec8.tar.gz
barebox-6913850321aaa3464ab3dad7b05ff06d02462ec8.tar.xz
of_graph: add of_graph_port_is_available
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/of_graph.h')
-rw-r--r--include/of_graph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/of_graph.h b/include/of_graph.h
index fa037dbf75..254dd2ca28 100644
--- a/include/of_graph.h
+++ b/include/of_graph.h
@@ -45,5 +45,6 @@ struct device_node *of_graph_get_next_endpoint(const struct device_node *parent,
struct device_node *of_graph_get_remote_port_parent(
const struct device_node *node);
struct device_node *of_graph_get_remote_port(const struct device_node *node);
+int of_graph_port_is_available(struct device_node *node);
#endif /* __LINUX_OF_GRAPH_H */