Commit 4c3b386c authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Rob Herring

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: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/87r0hrcvzk.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 6284d33d
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment