]> git.sur5r.net Git - u-boot/blobdiff - lib/fdtdec.c
libfdt: Bring in upstream stringlist functions
[u-boot] / lib / fdtdec.c
index 4defb902b87297d03f891ea18b26647bd19fccc9..adc9975c3610f6b8d480f9ec0ff8eb7cb6865be5 100644 (file)
@@ -1014,7 +1014,7 @@ int fdt_get_named_resource(const void *fdt, int node, const char *property,
 {
        int index;
 
-       index = fdt_find_string(fdt, node, prop_names, name);
+       index = fdt_stringlist_search(fdt, node, prop_names, name);
        if (index < 0)
                return index;