diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2017-04-20 04:31:42 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-05-17 12:21:08 +0300 |
commit | 4c9c3d595f1bad021cc126d20879df4016801736 (patch) | |
tree | 9cf15b28be46d6399c5dade85e758b7ccca257e7 /include/linux/of_graph.h | |
parent | 00bab23f72100a5fd8a3030f81d0af07a859ed17 (diff) | |
download | linux-4c9c3d595f1bad021cc126d20879df4016801736.tar.xz |
of_graph: add of_graph_get_remote_endpoint()
It should use same method to get same result.
To getting remote-endpoint node,
let's use of_graph_get_remote_endpoint()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/of_graph.h')
-rw-r--r-- | include/linux/of_graph.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/of_graph.h b/include/linux/of_graph.h index abdb02eaef06..0c9473a169dd 100644 --- a/include/linux/of_graph.h +++ b/include/linux/of_graph.h @@ -48,6 +48,8 @@ struct device_node *of_graph_get_next_endpoint(const struct device_node *parent, struct device_node *previous); struct device_node *of_graph_get_endpoint_by_regs( const struct device_node *parent, int port_reg, int reg); +struct device_node *of_graph_get_remote_endpoint( + const struct device_node *node); 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); @@ -80,6 +82,12 @@ static inline struct device_node *of_graph_get_endpoint_by_regs( return NULL; } +static inline struct device_node *of_graph_get_remote_endpoint( + const struct device_node *node) +{ + return NULL; +} + static inline struct device_node *of_graph_get_remote_port_parent( const struct device_node *node) { |