summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/powerpc/include/linux/of.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-17 14:14:30 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-23 14:54:53 +0100
commit81fc57de35c529840c90028254d26766ec75b98e (patch)
treec775d2c22324836f1a82e285060ac626fa707c08 /rtemsbsd/powerpc/include/linux/of.h
parentlinux/of.h: Add of_read_number() (diff)
downloadrtems-libbsd-81fc57de35c529840c90028254d26766ec75b98e.tar.bz2
linux/of.h: Add of_find_node_by_path()
Update #3277.
Diffstat (limited to 'rtemsbsd/powerpc/include/linux/of.h')
-rw-r--r--rtemsbsd/powerpc/include/linux/of.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/rtemsbsd/powerpc/include/linux/of.h b/rtemsbsd/powerpc/include/linux/of.h
index 8ef04697..e91baaaf 100644
--- a/rtemsbsd/powerpc/include/linux/of.h
+++ b/rtemsbsd/powerpc/include/linux/of.h
@@ -88,6 +88,9 @@ bool of_device_is_available(const struct device_node *dn);
int of_device_is_compatible(const struct device_node *dn, const char *name);
+struct device_node *of_find_node_by_path(struct device_node *dns,
+ const char *path);
+
struct device_node *of_find_compatible_node(struct device_node *dns,
const struct device_node *dn, const char *type, const char *compatible);