[PATCH 3/3] sh: setup: Add missing forward declaration for sh_fdt_init()
From: Geert Uytterhoeven
Date: Mon May 13 2024 - 09:21:14 EST
arch/sh/kernel/setup.c:244:12: warning: no previous prototype for 'sh_fdt_init' [-Wmissing-prototypes]
Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
---
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