summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/of.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h
index 54017b83650b..b97f685c941f 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -366,6 +366,9 @@ static inline bool of_have_populated_dt(void)
366#define for_each_child_of_node(parent, child) \ 366#define for_each_child_of_node(parent, child) \
367 while (0) 367 while (0)
368 368
369#define for_each_available_child_of_node(parent, child) \
370 while (0)
371
369static inline struct device_node *of_get_child_by_name( 372static inline struct device_node *of_get_child_by_name(
370 const struct device_node *node, 373 const struct device_node *node,
371 const char *name) 374 const char *name)