aboutsummaryrefslogtreecommitdiff
path: root/include/linux/of.h
diff options
context:
space:
mode:
authorGravatar Benjamin Herrenschmidt <benh@kernel.crashing.org> 2012-11-26 09:23:57 +1100
committerGravatar Benjamin Herrenschmidt <benh@kernel.crashing.org> 2012-11-26 09:23:57 +1100
commit2a859ab07b6ab66f4134c4fffc341398bd3d328c (patch)
treec5e7eaf3bffbc18feb326940e39794328d98dc07 /include/linux/of.h
parentpowerpc: Disable relocation on exceptions when kexecing (diff)
parentpowerpc/eeh: Do not invalidate PE properly (diff)
downloadlinux-2a859ab07b6ab66f4134c4fffc341398bd3d328c.tar.gz
linux-2a859ab07b6ab66f4134c4fffc341398bd3d328c.tar.bz2
linux-2a859ab07b6ab66f4134c4fffc341398bd3d328c.zip
Merge branch 'merge' into next
Merge my own merge branch to get various fixes from there and upstream, especially the hvc console tty refcouting fixes which which testing is quite a bit harder...
Diffstat (limited to 'include/linux/of.h')
-rw-r--r--include/linux/of.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h
index a093b2fe5dfb..681a6c88010f 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -344,6 +344,13 @@ static inline bool of_have_populated_dt(void)
#define for_each_child_of_node(parent, child) \
while (0)
+static inline struct device_node *of_get_child_by_name(
+ const struct device_node *node,
+ const char *name)
+{
+ return NULL;
+}
+
static inline int of_get_child_count(const struct device_node *np)
{
return 0;