Name
of_get_next_child —
find next child node
Synopsis
struct device_node * of_get_next_child ( | const struct device_node * node, |
| struct device_node * prev) ; |
Arguments
node
Pointer to parent node
prev
Pointer to previous child of parent node, or NULL to get first
Description
Find next child node after prev.
of_node_put
will be called on prev.
Return
A node pointer if found, with refcount incremented, use
of_node_put
on it when done. NULL if node is not found.