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

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@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>

On 10 October 2018 at 18:16, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
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@gmx.de
test/overlay/cmd_ut_overlay.c | 1 + 1 file changed, 1 insertion(+)
Reviewed-by: Simon Glass sjg@chromium.org

On Thu, Oct 11, 2018 at 02:16:46AM +0200, Heinrich Schuchardt wrote:
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@gmx.de Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!
participants (3)
-
Heinrich Schuchardt
-
Simon Glass
-
Tom Rini