]> git.dujemihanovic.xyz Git - linux.git/commitdiff
sh: setup: Add missing forward declaration for sh_fdt_init()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 13 May 2024 13:20:55 +0000 (15:20 +0200)
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Mon, 13 May 2024 13:37:11 +0000 (15:37 +0200)
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>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/7e3ea09e706a075bceb6bfd172990676e79be1c2.1715606232.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
arch/sh/include/asm/setup.h

index fc807011187fa1c0bc547c075c4efc1e037c31ea..84bb23a771f3538b3835480c2704dc6aceae8498 100644 (file)
@@ -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 */