summaryrefslogtreecommitdiffstats
path: root/include/libfdt.h
diff options
context:
space:
mode:
authorGerald Van Baren <vanbaren@cideas.com>2007-06-06 22:47:58 -0400
committerGerald Van Baren <vanbaren@cideas.com>2007-08-10 19:21:36 -0400
commit1a861169bc3758f9de3aead62b058736c6891246 (patch)
treeb47acfbd51b061bc502c7e0783dc346e0b64319d /include/libfdt.h
parentaddd8ce83078c25f0eca5f23adbdfc64ca50a243 (diff)
downloadblackbird-obmc-uboot-1a861169bc3758f9de3aead62b058736c6891246.tar.gz
blackbird-obmc-uboot-1a861169bc3758f9de3aead62b058736c6891246.zip
Replace fdt_node_offset() with fdt_find_node_by_path().
The new name matches more closely the kernel's name, which is also a much better description. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Acked-by: Gerald Van Baren <vanbaren@cideas.com>
Diffstat (limited to 'include/libfdt.h')
-rw-r--r--include/libfdt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libfdt.h b/include/libfdt.h
index f8bac73a31..e08002817c 100644
--- a/include/libfdt.h
+++ b/include/libfdt.h
@@ -77,7 +77,7 @@ 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);
struct fdt_property *fdt_get_property(const void *fdt, int nodeoffset,
const char *name, int *lenp);
OpenPOWER on IntegriCloud