summaryrefslogtreecommitdiff
path: root/include/libfdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libfdt.h')
-rw-r--r--include/libfdt.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/libfdt.h b/include/libfdt.h
index f8bac73a319..340e89d9ce5 100644
--- a/include/libfdt.h
+++ b/include/libfdt.h
@@ -77,7 +77,13 @@ int fdt_subnode_offset_namelen(const void *fdt, int parentoffset,
const char *name, int namelen);
int fdt_subnode_offset(const void *fdt, int parentoffset, const char *name);
-int fdt_path_offset(const void *fdt, const char *path);
+int fdt_find_node_by_path(const void *fdt, const char *path);
+int fdt_find_node_by_type(const void *fdt, int nodeoffset, const char *type);
+
+int fdt_node_is_compatible(const void *fdt, int nodeoffset,
+ const char *compat);
+int fdt_find_compatible_node(const void *fdt, int nodeoffset,
+ const char *type, const char *compat);
struct fdt_property *fdt_get_property(const void *fdt, int nodeoffset,
const char *name, int *lenp);