summaryrefslogtreecommitdiff
path: root/libfdt
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 /libfdt
parentaddd8ce83078c25f0eca5f23adbdfc64ca50a243 (diff)
downloadu-boot-imx-1a861169bc3758f9de3aead62b058736c6891246.zip
u-boot-imx-1a861169bc3758f9de3aead62b058736c6891246.tar.gz
u-boot-imx-1a861169bc3758f9de3aead62b058736c6891246.tar.bz2
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 'libfdt')
-rw-r--r--libfdt/fdt_ro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdt/fdt_ro.c b/libfdt/fdt_ro.c
index defe59c..1a03109 100644
--- a/libfdt/fdt_ro.c
+++ b/libfdt/fdt_ro.c
@@ -132,7 +132,7 @@ int fdt_subnode_offset(const void *fdt, int parentoffset,
* Searches for the node corresponding to the given path and returns the
* offset of that node.
*/
-int fdt_path_offset(const void *fdt, const char *path)
+int fdt_find_node_by_path(const void *fdt, const char *path)
{
const char *end = path + strlen(path);
const char *p = path;