projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.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
|
blame
|
history
diff --git
a/include/linux/of.h
b/include/linux/of.h
index 5919ee33f2b7b2d930fa3f6dd877984be5ed5e0d..3ffb6f7fb4d8fb514d0321858f77f7e3c5bae864 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;