projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b59c1a
)
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
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Sat, 22 Sep 2012 15:15:03 +0000
(11:15 -0400)
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: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/linux/of.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/of.h
b/include/linux/of.h
index 1b1163225f3b8ab1eafacbb21e83ab8f86d50d42..5c7a15836996e92dd3c5fe33cf2161c95d3b16bf 100644
(file)
--- 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 "<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;