summaryrefslogtreecommitdiff
path: root/arch/m68k/coldfire/sltimers.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-09-24 18:29:17 +0300
committerArnd Bergmann <arnd@arndb.de>2020-10-30 23:57:06 +0300
commitf9a015391e8908e68bd3147a8a5d8ac5f3ea2126 (patch)
tree07c2b0dfa4b4794317c1dcd3b1340c28753ed6a4 /arch/m68k/coldfire/sltimers.c
parent42f1d57f055064ed320d7292b95819dd81dda409 (diff)
downloadlinux-f9a015391e8908e68bd3147a8a5d8ac5f3ea2126.tar.xz
m68k: remove timer_interrupt() function
This gets passed to a number of init functions, but is ignored everywhere, so remove the function and change the mach_sched_init callback to take no arguments. Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/m68k/coldfire/sltimers.c')
-rw-r--r--arch/m68k/coldfire/sltimers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/coldfire/sltimers.c b/arch/m68k/coldfire/sltimers.c
index 25a1319f3cb8..f9d572ee63db 100644
--- a/arch/m68k/coldfire/sltimers.c
+++ b/arch/m68k/coldfire/sltimers.c
@@ -118,7 +118,7 @@ static struct clocksource mcfslt_clk = {
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};
-void hw_timer_init(irq_handler_t handler)
+void hw_timer_init(void)
{
int r;