Skip to content

Commit 1e21acb

Browse files
zearglaubitz
authored andcommitted
sh: hd64461: Make setup_hd64461() static
Enforce internal linkage for setup_hd64461(). This fixes the following error: arch/sh/cchips/hd6446x/hd64461.c:75:12: error: no previous prototype for 'setup_hd64461' [-Werror=missing-prototypes] Signed-off-by: Artur Rojek <contact@artur-rojek.eu> Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Link: https://lore.kernel.org/r/20240211193451.106795-1-contact@artur-rojek.eu Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
1 parent ad4acb2 commit 1e21acb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/sh/cchips/hd6446x/hd64461.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static void hd64461_irq_demux(struct irq_desc *desc)
7272
}
7373
}
7474

75-
int __init setup_hd64461(void)
75+
static int __init setup_hd64461(void)
7676
{
7777
int irq_base, i;
7878

0 commit comments

Comments
 (0)