diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-09-10 13:46:24 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-18 15:45:03 +0200 |
commit | 1cc44f4354c03d1ebcfa670875478ee1c9368086 (patch) | |
tree | bb6f66eaec98f6c53d0db04ec0ab0bfe761055b5 /include/linux/of.h | |
parent | c531241dcc010e4457e0eb9401aaeae0a56bf5c6 (diff) | |
download | linux-1cc44f4354c03d1ebcfa670875478ee1c9368086.tar.gz linux-1cc44f4354c03d1ebcfa670875478ee1c9368086.tar.bz2 linux-1cc44f4354c03d1ebcfa670875478ee1c9368086.zip |
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 <peter.ujfalusi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/of.h')
-rw-r--r-- | include/linux/of.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 "<no-node>"; } +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; |