summaryrefslogtreecommitdiff
path: root/include/dm/ofnode_decl.h
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2022-09-06 20:27:16 -0600
committerTom Rini <[email protected]>2022-09-29 16:11:15 -0400
commit52ad21aa2cc55f53da19436f457a8590abf0d125 (patch)
tree30846bc4e1f2d41259d9e9e39b238ba93bd19e9b /include/dm/ofnode_decl.h
parentf46ec93ed593e7a442629a2a56fd541debc41329 (diff)
dm: core: Add a macro to iterate through properties
Add a 'for_each' macro like we have for nodes. Fix the comment for struct ofprop while we are here. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/dm/ofnode_decl.h')
-rw-r--r--include/dm/ofnode_decl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/ofnode_decl.h b/include/dm/ofnode_decl.h
index 8d0d7885aa6..f666a0287ba 100644
--- a/include/dm/ofnode_decl.h
+++ b/include/dm/ofnode_decl.h
@@ -57,7 +57,7 @@ typedef union ofnode_union {
*
* @node: Pointer to device node
* @offset: Pointer into flat device tree, used for flat tree.
- * @prop: Pointer to property, used for live treee.
+ * @prop: Pointer to property, used for live tree.
*/
struct ofprop {