[U-Boot] [PATCH 1/1] test: overlay: add missing include

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Oct 11 00:16:46 UTC 2018


Compiling the overlay unit test fails with odroid-c2_defconfig showing
errors like:

    test/overlay/cmd_ut_overlay.c:29:8:
    error: unknown type name ‘fdt32_t’

Add the missing include.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 test/overlay/cmd_ut_overlay.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/overlay/cmd_ut_overlay.c b/test/overlay/cmd_ut_overlay.c
index f7ff93799f..3d34c8ab53 100644
--- a/test/overlay/cmd_ut_overlay.c
+++ b/test/overlay/cmd_ut_overlay.c
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <command.h>
 #include <errno.h>
+#include <fdt_support.h>
 #include <malloc.h>
 
 #include <linux/sizes.h>
-- 
2.19.1



More information about the U-Boot mailing list