This is needed by bcma driver and was added to mainline kernel in commit aba3dfff9a "dt: add empty for_each_child_of_node, of_find_property". Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- backport/backport-include/linux/of.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backport/backport-include/linux/of.h b/backport/backport-include/linux/of.h index 8089803..1a38034 100644 --- a/backport/backport-include/linux/of.h +++ b/backport/backport-include/linux/of.h @@ -199,4 +199,9 @@ static inline const char* of_node_full_name(const struct device_node *np) #endif /* CONFIG_OF */ #endif /* < 3.6 */ +#ifndef for_each_child_of_node +#define for_each_child_of_node(parent, child) \ + while (0) +#endif + #endif /* _COMPAT_LINUX_OF_H */ -- 2.8.1 -- To unsubscribe from this list: send the line "unsubscribe backports" in