From: Andes Date: Tue, 12 Sep 2017 10:49:37 +0800 Subject: [U-Boot] [PATCH] nds32: bootm: Fix warning of struct tag_serialnr declared Message-ID: <1505184577-32364-1-git-send-email-uboot@andestech.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: rick move #include from bootm.c to bootm.h Signed-off-by: rick --- arch/nds32/include/asm/bootm.h | 2 ++ arch/nds32/lib/bootm.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/nds32/include/asm/bootm.h b/arch/nds32/include/asm/bootm.h index 6b10c07..2e2fe01 100644 --- a/arch/nds32/include/asm/bootm.h +++ b/arch/nds32/include/asm/bootm.h @@ -11,6 +11,8 @@ #ifndef NDS32_BOOTM_H #define NDS32_BOOTM_H +#include + extern void udc_disconnect(void); #if defined(CONFIG_SETUP_MEMORY_TAGS) || \ diff --git a/arch/nds32/lib/bootm.c b/arch/nds32/lib/bootm.c index e834329..42b15df 100644 --- a/arch/nds32/lib/bootm.c +++ b/arch/nds32/lib/bootm.c @@ -12,7 +12,6 @@ #include #include #include -#include DECLARE_GLOBAL_DATA_PTR; -- 1.7.9.5