[PATCH 3/3] sh: setup: Add missing forward declaration for sh_fdt_init()

Geert Uytterhoeven posted 3 patches 1 year, 9 months ago
[PATCH 3/3] sh: setup: Add missing forward declaration for sh_fdt_init()
Posted by Geert Uytterhoeven 1 year, 9 months ago
arch/sh/kernel/setup.c:244:12: warning: no previous prototype for 'sh_fdt_init' [-Wmissing-prototypes]

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 arch/sh/include/asm/setup.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/sh/include/asm/setup.h b/arch/sh/include/asm/setup.h
index fc807011187fa1c0..84bb23a771f3538b 100644
--- a/arch/sh/include/asm/setup.h
+++ b/arch/sh/include/asm/setup.h
@@ -21,5 +21,6 @@
 void sh_mv_setup(void);
 void check_for_initrd(void);
 void per_cpu_trap_init(void);
+void sh_fdt_init(phys_addr_t dt_phys);
 
 #endif /* _SH_SETUP_H */
-- 
2.34.1