From: Sylwester Nawrocki Date: Mon, 28 Oct 2013 18:12:35 +0000 (-0500) Subject: of: Add empty for_each_available_child_of_node() macro definition X-Git-Tag: v3.13-rc1~117^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6f0747e5bc69401d7f90313aa1b46709d27840a;p=profile%2Fivi%2Fkernel-x86-ivi.git of: Add empty for_each_available_child_of_node() macro definition Add this empty macro definition so users can be compiled without excluding this macro call with preprocessor directives when CONFIG_OF is disabled. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park Signed-off-by: Rob Herring --- diff --git a/include/linux/of.h b/include/linux/of.h index 54017b8..b97f685 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)