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-Url: http://git.osdn.net/view?a=commitdiff_plain;h=5382a0171f2069ed259d7a86f19822a1af2488d4;p=sagit-ice-cold%2Fkernel_xiaomi_msm8998.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 1b1163225f3b..5c7a15836996 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;