projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c531241
)
dt: Add empty of_find_node_by_name() function
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Mon, 10 Sep 2012 10:46:24 +0000
(13:46 +0300)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 18 Sep 2012 13:45:03 +0000
(15:45 +0200)
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>
include/linux/of.h
patch
|
blob
|
history
diff --git
a/include/linux/of.h
b/include/linux/of.h
index
5919ee3
..
3ffb6f7
100644
(file)
--- 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;