Skip to content

Commit 18fe6bf

Browse files
committed
m68k: bvme6000: Make bvme6000_abort_int() static
When building with W=1: arch/m68k/bvme6000/config.c:133:13: warning: no previous prototype for ‘bvme6000_abort_int’ [-Wmissing-prototypes] 133 | irqreturn_t bvme6000_abort_int (int irq, void *dev_id) | ^~~~~~~~~~~~~~~~~~ Fix this by making bvme6000_abort_int() static. There was never a user outside arch/m68k/bvme6000/config.c. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/4da40748e1d7d56b73840a1d7ab1cb9c9a59cef2.1694613528.git.geert@linux-m68k.org
1 parent 676ca3c commit 18fe6bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/m68k/bvme6000/config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ void __init config_bvme6000(void)
130130
}
131131

132132

133-
irqreturn_t bvme6000_abort_int (int irq, void *dev_id)
133+
static irqreturn_t bvme6000_abort_int(int irq, void *dev_id)
134134
{
135135
unsigned long *new = (unsigned long *)vectors;
136136
unsigned long *old = (unsigned long *)0xf8000000;

0 commit comments

Comments
 (0)