Skip to content

Commit bbfd365

Browse files
geertuglaubitz
authored andcommitted
sh: sh7785lcr: Make init_sh7785lcr_IRQ() static
arch/sh/boards/board-sh7785lcr.c:298:13: warning: no previous prototype for ‘init_sh7785lcr_IRQ’ [-Wmissing-prototypes] There are no users outside this file, so make it static. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: John Paul Adrian Glaubitz <[email protected]> Link: https://lore.kernel.org/r/cbe9da98a1106cdab686766e2f23f768399dbdbf.1709579038.git.geert+renesas@glider.be Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
1 parent 0ef06d6 commit bbfd365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/sh/boards/board-sh7785lcr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ static int __init sh7785lcr_devices_setup(void)
295295
device_initcall(sh7785lcr_devices_setup);
296296

297297
/* Initialize IRQ setting */
298-
void __init init_sh7785lcr_IRQ(void)
298+
static void __init init_sh7785lcr_IRQ(void)
299299
{
300300
plat_irq_setup_pins(IRQ_MODE_IRQ7654);
301301
plat_irq_setup_pins(IRQ_MODE_IRQ3210);

0 commit comments

Comments
 (0)