instead of fdt_first_subnode() which is v1.4.0

Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org>
---
 configure | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 0d5bdb3ae9..2d803d6a77 100755
--- a/configure
+++ b/configure
@@ -3565,7 +3565,10 @@ if test "$fdt" != "no" ; then
   cat > $TMPC << EOF
 #include <libfdt.h>
 #include <libfdt_env.h>
-int main(void) { fdt_first_subnode(0, 0); return 0; }
+int main(void) {
+    fdt_setprop_inplace_namelen_partial(0, 0, 0, 0, 0, 0, 0);
+    return 0;
+}
 EOF
   if compile_prog "" "$fdt_libs" ; then
     # system DTC is good - use it
-- 
2.13.3


Reply via email to