]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
sh: sh7757lcr: Make init_sh7757lcr_IRQ() static
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 4 Mar 2024 19:10:47 +0000 (20:10 +0100)
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Thu, 2 May 2024 10:01:31 +0000 (12:01 +0200)
arch/sh/boards/board-sh7757lcr.c:572:13: warning: no previous prototype for 'init_sh7757lcr_IRQ' [-Wmissing-prototypes]

There are no users outside this file, so make it static.

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/fba00424b5b0bee0f9b9cbc63d649a86854d202f.1709579038.git.geert+renesas@glider.be
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
arch/sh/boards/board-sh7757lcr.c

index f39c8196efdfd166371464bbd0865d1737155e51..689ea14a66781b15872218e47b57d030c6997739 100644 (file)
@@ -569,7 +569,7 @@ static int __init sh7757lcr_devices_setup(void)
 arch_initcall(sh7757lcr_devices_setup);
 
 /* Initialize IRQ setting */
-void __init init_sh7757lcr_IRQ(void)
+static void __init init_sh7757lcr_IRQ(void)
 {
        plat_irq_setup_pins(IRQ_MODE_IRQ7654);
        plat_irq_setup_pins(IRQ_MODE_IRQ3210);