diff options
author | Gerald Van Baren <vanbaren@cideas.com> | 2007-06-06 22:47:58 -0400 |
---|---|---|
committer | Gerald Van Baren <vanbaren@cideas.com> | 2007-08-10 19:21:36 -0400 |
commit | 1a861169bc3758f9de3aead62b058736c6891246 (patch) | |
tree | b47acfbd51b061bc502c7e0783dc346e0b64319d /common/cmd_fdt.c | |
parent | addd8ce83078c25f0eca5f23adbdfc64ca50a243 (diff) | |
download | u-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 'common/cmd_fdt.c')
-rw-r--r-- | common/cmd_fdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c index 7066d7d..65960c6 100644 --- a/common/cmd_fdt.c +++ b/common/cmd_fdt.c @@ -59,7 +59,7 @@ static int findnodeoffset(const char *pathp) if (strcmp(pathp, "/") == 0) { nodeoffset = 0; } else { - nodeoffset = fdt_path_offset (fdt, pathp); + nodeoffset = fdt_find_node_by_path (fdt, pathp); if (nodeoffset < 0) { /* * Not found or something else bad happened. |