diff options
Diffstat (limited to 'include/linux/of.h')
-rw-r--r-- | include/linux/of.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h index 72843b72a2b2..b4e50d56fc74 100644 --- a/include/linux/of.h +++ b/include/linux/of.h | |||
@@ -331,6 +331,13 @@ static inline bool of_have_populated_dt(void) | |||
331 | #define for_each_child_of_node(parent, child) \ | 331 | #define for_each_child_of_node(parent, child) \ |
332 | while (0) | 332 | while (0) |
333 | 333 | ||
334 | static inline struct device_node *of_get_child_by_name( | ||
335 | const struct device_node *node, | ||
336 | const char *name) | ||
337 | { | ||
338 | return NULL; | ||
339 | } | ||
340 | |||
334 | static inline int of_get_child_count(const struct device_node *np) | 341 | static inline int of_get_child_count(const struct device_node *np) |
335 | { | 342 | { |
336 | return 0; | 343 | return 0; |