aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-12-17 09:36:17 -0700
committerSimon Glass <sjg@chromium.org>2023-12-31 07:21:02 -0700
commitf3acd206859ed516f79ba83da587196f66fe57d2 (patch)
tree7c03dd1108ebb3e3a47e7f572508042418a7eb2a /tools
parent9dab5bd3f8c4b9f09e1bcb7aefc090210d1fd52e (diff)
downloadu-boot-f3acd206859ed516f79ba83da587196f66fe57d2.zip
u-boot-f3acd206859ed516f79ba83da587196f66fe57d2.tar.gz
u-boot-f3acd206859ed516f79ba83da587196f66fe57d2.tar.bz2
fdtgrep: Correct references to fdt_find_regions()
The function name is actually fdtgrep_find_regions() so update the name in comments accordinging. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/fdtgrep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/fdtgrep.c b/tools/fdtgrep.c
index 41d8b41..b56d2fe 100644
--- a/tools/fdtgrep.c
+++ b/tools/fdtgrep.c
@@ -576,10 +576,10 @@ static int check_type_include(void *priv, int type, const char *data, int size)
}
/**
- * h_include() - Include handler function for fdt_find_regions()
+ * h_include() - Include handler function for fdtgrep_find_regions()
*
* This function decides whether to include or exclude a node, property or
- * compatible string. The function is defined by fdt_find_regions().
+ * compatible string. The function is defined by fdtgrep_find_regions().
*
* The algorithm is documented in the code - disp->invert is 0 for normal
* operation, and 1 to invert the sense of all matches.
@@ -822,7 +822,7 @@ static int do_fdtgrep(struct display_info *disp, const char *filename)
region, max_regions, path, sizeof(path),
disp->flags);
if (count < 0) {
- report_error("fdt_find_regions", count);
+ report_error("fdtgrep_find_regions", count);
free(region);
return -1;
}