diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2023-09-13 16:08:17 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2023-10-06 10:03:02 +0200 |
commit | 18fe6bf505da8acf2e7b578bb23ea2d89fe9dbf2 (patch) | |
tree | 5cfe1ab1e5d0092a70c5fe9e47e1a9cfa0c6f591 | |
parent | 676ca3c3fd9a8e341f9749fa3fecb82e1862a666 (diff) |
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
-rw-r--r-- | arch/m68k/bvme6000/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/bvme6000/config.c b/arch/m68k/bvme6000/config.c index 3a1d90e399e0..e604fe660246 100644 --- a/arch/m68k/bvme6000/config.c +++ b/arch/m68k/bvme6000/config.c @@ -130,7 +130,7 @@ void __init config_bvme6000(void) } -irqreturn_t bvme6000_abort_int (int irq, void *dev_id) +static irqreturn_t bvme6000_abort_int(int irq, void *dev_id) { unsigned long *new = (unsigned long *)vectors; unsigned long *old = (unsigned long *)0xf8000000; |