summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dm/ofnode.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h
index c359a60f953..6938e62993e 100644
--- a/include/dm/ofnode.h
+++ b/include/dm/ofnode.h
@@ -302,6 +302,14 @@ ofnode ofnode_first_subnode(ofnode node);
ofnode ofnode_next_subnode(ofnode node);
/**
+ * ofnode_get_parent() - get the ofnode's parent (enclosing ofnode)
+ *
+ * @node: valid node to look up
+ * @return ofnode reference of the parent node
+ */
+ofnode ofnode_get_parent(ofnode node);
+
+/**
* ofnode_get_name() - get the name of a node
*
* @node: valid node to look up