diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2023-09-13 16:08:23 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2023-10-06 10:03:03 +0200 |
commit | 7f5514b4ed70719a50b0a7c6ad7f4ce6d0f28efe (patch) | |
tree | ff1f505799065a128d49ba7912c22ccb6135851a | |
parent | c43278f073c920a18af9721fb620c05f6826ff13 (diff) | |
download | linux-7f5514b4ed70719a50b0a7c6ad7f4ce6d0f28efe.tar.gz linux-7f5514b4ed70719a50b0a7c6ad7f4ce6d0f28efe.tar.bz2 linux-7f5514b4ed70719a50b0a7c6ad7f4ce6d0f28efe.zip |
m68k: mvme147: Make mvme147_init_IRQ() static
When building with W=1:
arch/m68k/mvme147/config.c:76:13: warning: no previous prototype for ‘mvme147_init_IRQ’ [-Wmissing-prototypes]
76 | void __init mvme147_init_IRQ(void)
| ^~~~~~~~~~~~~~~~
Fix this by making mvme147_init_IRQ() static.
The function body was moved to arch/m68k/mvme147/config.c in v2.6.18.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/853e29ca81761032c3af132fffbd583b667234a6.1694613528.git.geert@linux-m68k.org
-rw-r--r-- | arch/m68k/mvme147/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/mvme147/config.c b/arch/m68k/mvme147/config.c index 4e6218115f43..7dfacd0b207a 100644 --- a/arch/m68k/mvme147/config.c +++ b/arch/m68k/mvme147/config.c @@ -73,7 +73,7 @@ static void mvme147_get_model(char *model) * the mvme147 IRQ handling routines. */ -void __init mvme147_init_IRQ(void) +static void __init mvme147_init_IRQ(void) { m68k_setup_user_interrupt(VEC_USER, 192); } |