aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel/setup_no.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-09-24 17:29:17 +0200
committerArnd Bergmann <arnd@arndb.de>2020-10-30 21:57:06 +0100
commitf9a015391e8908e68bd3147a8a5d8ac5f3ea2126 (patch)
tree07c2b0dfa4b4794317c1dcd3b1340c28753ed6a4 /arch/m68k/kernel/setup_no.c
parentm68k: change remaining timers to legacy_timer_tick (diff)
downloadlinux-dev-f9a015391e8908e68bd3147a8a5d8ac5f3ea2126.tar.xz
linux-dev-f9a015391e8908e68bd3147a8a5d8ac5f3ea2126.zip
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/kernel/setup_no.c')
-rw-r--r--arch/m68k/kernel/setup_no.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/kernel/setup_no.c b/arch/m68k/kernel/setup_no.c
index f66f4b1d062e..e377b4219528 100644
--- a/arch/m68k/kernel/setup_no.c
+++ b/arch/m68k/kernel/setup_no.c
@@ -49,7 +49,7 @@ EXPORT_SYMBOL(memory_end);
char __initdata command_line[COMMAND_LINE_SIZE];
/* machine dependent timer functions */
-void (*mach_sched_init)(irq_handler_t handler) __initdata = NULL;
+void (*mach_sched_init)(void) __initdata = NULL;
int (*mach_hwclk) (int, struct rtc_time*);
/* machine dependent reboot functions */