Skip to content

Commit 7f5514b

Browse files
committed
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
1 parent c43278f commit 7f5514b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/m68k/mvme147/config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ static void mvme147_get_model(char *model)
7373
* the mvme147 IRQ handling routines.
7474
*/
7575

76-
void __init mvme147_init_IRQ(void)
76+
static void __init mvme147_init_IRQ(void)
7777
{
7878
m68k_setup_user_interrupt(VEC_USER, 192);
7979
}

0 commit comments

Comments
 (0)