git.samba.org
/
sfrench
/
cifs-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6284d33
)
of: property: add missing kerneldoc for of_graph_get_endpoint_count()
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Mon, 5 Feb 2024 05:37:19 +0000
(
05:37
+0000)
committer
Rob Herring
<robh@kernel.org>
Tue, 6 Feb 2024 22:20:23 +0000
(22:20 +0000)
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>
drivers/of/property.c
patch
|
blob
|
history
diff --git
a/drivers/of/property.c
b/drivers/of/property.c
index a02a985c13baafe2ffa3c39491baf7317230c547..455dda225556d02d39114a882df9eeffce541c0b 100644
(file)
--- 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;