From e8d4fa9057c4d121d3c4c9f2f49cf07e22fb9ee2 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 17 May 2017 08:22:52 -0600 Subject: [PATCH] nds32: Make u-boot-nds32.h a private header Rather than including this arch-specific header file in common.h, include it from within nds32's u-boot.h header. Signed-off-by: Simon Glass --- arch/nds32/include/asm/u-boot.h | 2 ++ include/common.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/nds32/include/asm/u-boot.h b/arch/nds32/include/asm/u-boot.h index 2efdeb1243..4378ebf44b 100644 --- a/arch/nds32/include/asm/u-boot.h +++ b/arch/nds32/include/asm/u-boot.h @@ -20,6 +20,8 @@ #ifndef _U_BOOT_H_ #define _U_BOOT_H_ 1 +#include + #include typedef struct bd_info { diff --git a/include/common.h b/include/common.h index f36fed3843..c1e634045f 100644 --- a/include/common.h +++ b/include/common.h @@ -439,7 +439,7 @@ static inline int setenv_addr(const char *varname, const void *addr) #ifdef CONFIG_NDS32 # include # include -# include +# include #endif /* CONFIG_NDS32 */ #ifdef CONFIG_MIPS # include -- 2.39.5