diff --git a/sys/dev/fdt/fdt_common.c b/sys/dev/fdt/fdt_common.c index 64c28db2128..2651a3a1a1c 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); }