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-rc1~112^2~47 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=1cc44f4354c03d1ebcfa670875478ee1c9368086;p=linux.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: Samuel Ortiz --- diff --git a/include/linux/of.h b/include/linux/of.h index 5919ee33f2b7..3ffb6f7fb4d8 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -308,6 +308,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;