Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Artur Rojek and committed by
John Paul Adrian Glaubitz
1e21acb7 ad4acb2e

+1 -1
+1 -1
arch/sh/cchips/hd6446x/hd64461.c
··· 72 72 } 73 73 } 74 74 75 - int __init setup_hd64461(void) 75 + static int __init setup_hd64461(void) 76 76 { 77 77 int irq_base, i; 78 78