sh: hd64461: Make setup_hd64461() static
authorArtur Rojek <contact@artur-rojek.eu>
Sun, 11 Feb 2024 19:34:51 +0000 (20:34 +0100)
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Thu, 21 Mar 2024 11:17:35 +0000 (12:17 +0100)
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>
arch/sh/cchips/hd6446x/hd64461.c

index f3fba967445acab88047b5db80ebb5d4bc4a25cd..81764882d87d370e766076a5da652e37e0d7da81 100644 (file)
@@ -72,7 +72,7 @@ static void hd64461_irq_demux(struct irq_desc *desc)
        }
 }
 
-int __init setup_hd64461(void)
+static int __init setup_hd64461(void)
 {
        int irq_base, i;