diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/dm/ofnode.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h index e3fccb506ea..3da05d8b217 100644 --- a/include/dm/ofnode.h +++ b/include/dm/ofnode.h @@ -459,6 +459,16 @@ ofnode ofnode_get_parent(ofnode node); const char *ofnode_get_name(ofnode node); /** + * ofnode_get_path() - get the full path of a node + * + * @node: valid node to look up + * @buf: buffer to write the node path into + * @buflen: buffer size + * @return 0 if OK, -ve on error + */ +int ofnode_get_path(ofnode node, char *buf, int buflen); + +/** * ofnode_get_by_phandle() - get ofnode from phandle * * @phandle: phandle to look up |
