From: rick Date: Mon, 28 Aug 2017 05:31:48 +0000 (+0800) Subject: nds32: bootm: Fix warning of struct tag_serialnr declared X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=19fc21fb4af34dea1150e1cfbd64f5ccfc88a2b5;p=u-boot.git nds32: bootm: Fix warning of struct tag_serialnr declared move #include from bootm.c to bootm.h Signed-off-by: rick --- 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;