summaryrefslogtreecommitdiff
path: root/common/cmd_fdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_fdt.c')
-rw-r--r--common/cmd_fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c
index 7066d7d6e..65960c664 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.