diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2024-02-05 05:37:19 +0000 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2024-02-06 22:20:23 +0000 |
commit | 4c3b386c46065c0d26ae5503e73d6634f24e2d36 (patch) | |
tree | 97327090abb97ba4c5b3174d69d39df68e22bb9e /drivers/of/property.c | |
parent | 6284d33d1749e492596c54a590603d61fb7afc98 (diff) | |
download | linux-stable-4c3b386c46065c0d26ae5503e73d6634f24e2d36.tar.gz linux-stable-4c3b386c46065c0d26ae5503e73d6634f24e2d36.tar.bz2 linux-stable-4c3b386c46065c0d26ae5503e73d6634f24e2d36.zip |
of: property: add missing kerneldoc for of_graph_get_endpoint_count()
of_graph_get_endpoint_count() doesn't have kerneldoc. Add it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/87r0hrcvzk.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/property.c')
-rw-r--r-- | drivers/of/property.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/of/property.c b/drivers/of/property.c index a02a985c13ba..455dda225556 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -812,6 +812,12 @@ struct device_node *of_graph_get_remote_port(const struct device_node *node) } EXPORT_SYMBOL(of_graph_get_remote_port); +/** + * of_graph_get_endpoint_count() - get the number of endpoints in a device node + * @np: parent device node containing ports and endpoints + * + * Return: count of endpoint of this device node + */ int of_graph_get_endpoint_count(const struct device_node *np) { struct device_node *endpoint; |