[PATCH 3/3] sh: setup: Add missing forward declaration for sh_fdt_init()
Geert Uytterhoeven <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <7e3ea09e706a075bceb6bfd172990676e79be1c2.1715606232.git.geert+renesas@glider.be> |
arch/sh/kernel/setup.c:244:12: warning: no previous prototype for 'sh_fdt_init' [-Wmissing-prototypes] Signed-off-by: Geert Uytterhoeven <[email protected]> --- 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