From 19fc21fb4af34dea1150e1cfbd64f5ccfc88a2b5 Mon Sep 17 00:00:00 2001 From: rick Date: Mon, 28 Aug 2017 13:31:48 +0800 Subject: [PATCH] nds32: bootm: Fix warning of struct tag_serialnr declared 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 6b10c078df..2e2fe01f0e 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 e834329e0b..42b15dfcbf 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; -- 2.30.2