summaryrefslogtreecommitdiffstats
path: root/arch/sh/cchips
diff options
context:
space:
mode:
authorArtur Rojek <contact@artur-rojek.eu>2024-02-11 20:34:51 +0100
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2024-03-21 12:17:35 +0100
commit1e21acb7fbfb15fcb4afe21fb5a50a1bc00743ec (patch)
treecc1c6b9ad18ab841d257b3e2460d243c109f27b8 /arch/sh/cchips
parentsh: intc: Make intc_subsys const (diff)
downloadlinux-1e21acb7fbfb15fcb4afe21fb5a50a1bc00743ec.tar.xz
linux-1e21acb7fbfb15fcb4afe21fb5a50a1bc00743ec.zip
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>
Diffstat (limited to 'arch/sh/cchips')
-rw-r--r--arch/sh/cchips/hd6446x/hd64461.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/cchips/hd6446x/hd64461.c b/arch/sh/cchips/hd6446x/hd64461.c
index f3fba967445a..81764882d87d 100644
--- a/arch/sh/cchips/hd6446x/hd64461.c
+++ b/arch/sh/cchips/hd6446x/hd64461.c
@@ -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;