nds32: bootm: Fix warning of struct tag_serialnr declared
PATCH 1/1 nds32: bootm: Fix warning of struct tag_serialnr declared
From: rick <[email protected]>
move #include <asm/setup.h> from bootm.c to bootm.h
Signed-off-by rick <[email protected]>
--- arch/nds32/include/asm/bootm.h | 2 ++ arch/nds32/lib/bootm.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-)
arch/nds32/include/asm/bootm.h +2 -0
@@ -11,6 +11,8 @@#ifndef NDS32_BOOTM_H #define NDS32_BOOTM_H +#include <asm/setup.h> +extern void udc_disconnect (void ); #if defined(CONFIG_SETUP_MEMORY_TAGS) || \
arch/nds32/lib/bootm.c +0 -1
@@ -12,7 +12,6 @@#include <u-boot/zlib.h> #include <asm/byteorder.h> #include <asm/bootm.h> -#include <asm/setup.h> DECLARE_GLOBAL_DATA_PTR ;
Signature · 1 line
1.7.9.5