test: print_ut: Fix potential build error
PATCH 1/1 test: print_ut: Fix potential build error
This files uses the macro U_BOOT_CMD which is defined in command.h, but command.h is conditionally included. Fix it.
Signed-off-by Bin Meng <[email protected]>
---
test/print_ut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
test/print_ut.c +1 -1
@@ -6,8 +6,8 @@#define DEBUG #include <common.h> -#if CONFIG_IS_ENABLED (EFI_LOADER ) && !defined(API_BUILD )#include <command.h> +#if CONFIG_IS_ENABLED (EFI_LOADER ) && !defined(API_BUILD )#include <efi_api.h> #endif #include <display_options.h>
Signature · 1 line
2.7.4
PATCH 1/1 test: print_ut: Fix potential build error
Quoted 9 lines · Bin Meng
This files uses the macro
U_BOOT_CMDwhich is defined incommand.h, butcommand.his conditionally included. Fix it.Signed-off-by Bin Meng <[email protected]>---
test/print_ut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Simon Glass <[email protected]>
PATCH 1/1 test: print_ut: Fix potential build error
Quoted 9 lines · Bin Meng
This files uses the macro
U_BOOT_CMDwhich is defined incommand.h, butcommand.his conditionally included. Fix it.Signed-off-by Bin Meng <[email protected]>---
test/print_ut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Simon Glass <[email protected]>
Applied to u-boot-dm/next, thanks!