summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/fdt/fdt_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fdt/fdt_common.c b/sys/dev/fdt/fdt_common.c
index 64c28db..2651a3a 100644
--- a/sys/dev/fdt/fdt_common.c
+++ b/sys/dev/fdt/fdt_common.c
@@ -237,7 +237,7 @@ fdt_depth_search_compatible(phandle_t start, const char *compat, int strict)
(strict == 0 || fdt_is_compatible_strict(node, compat))) {
return (node);
}
- child = fdt_search_compatible(node, compat, strict);
+ child = fdt_depth_search_compatible(node, compat, strict);
if (child != 0)
return (child);
}
OpenPOWER on IntegriCloud