diff --git a/include/linux/of.h b/include/linux/of.h index 54017b83650b0a52a3544cd1ddb020567c0db4d8..b97f685c941f06bb53a73b952707aae46d103599 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -366,6 +366,9 @@ static inline bool of_have_populated_dt(void) #define for_each_child_of_node(parent, child) \ while (0) +#define for_each_available_child_of_node(parent, child) \ + while (0) + static inline struct device_node *of_get_child_by_name( const struct device_node *node, const char *name)