From: Peter Ujfalusi Date: Mon, 10 Sep 2012 10:46:24 +0000 (+0300) Subject: dt: Add empty of_find_node_by_name() function X-Git-Tag: v3.7~57^2~52^2~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5382a0171f2069ed259d7a86f19822a1af2488d4;p=platform%2Fkernel%2Flinux-amlogic.git dt: Add empty of_find_node_by_name() function This commit adds an empty of_find_node_by_name() function for !CONFIG_OF builds. Signed-off-by: Peter Ujfalusi Signed-off-by: Mark Brown --- diff --git a/include/linux/of.h b/include/linux/of.h index 1b11632..5c7a158 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -315,6 +315,12 @@ static inline const char* of_node_full_name(struct device_node *np) return ""; } +static inline struct device_node *of_find_node_by_name(struct device_node *from, + const char *name) +{ + return NULL; +} + static inline bool of_have_populated_dt(void) { return false;