projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
of: define of_find_node_by_phandle for !CONFIG_OF
[linux-2.6-block.git]
/
include
/
linux
/
of.h
diff --git
a/include/linux/of.h
b/include/linux/of.h
index a3eb9d1e5800791b34126f0d394c29f17e8a60b0..54f858798e8cd537f4bcabf08d1f7e96978a7a5d 100644
(file)
--- a/
include/linux/of.h
+++ b/
include/linux/of.h
@@
-422,6
+422,11
@@
static inline struct device_node *of_find_node_opts_by_path(const char *path,
return NULL;
}
+static inline struct device_node *of_find_node_by_phandle(phandle handle)
+{
+ return NULL;
+}
+
static inline struct device_node *of_get_parent(const struct device_node *node)
{
return NULL;