diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-09-24 17:29:17 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2020-10-30 21:57:06 +0100 |
commit | f9a015391e8908e68bd3147a8a5d8ac5f3ea2126 (patch) | |
tree | 07c2b0dfa4b4794317c1dcd3b1340c28753ed6a4 /arch/m68k/atari | |
parent | 42f1d57f055064ed320d7292b95819dd81dda409 (diff) | |
download | linux-f9a015391e8908e68bd3147a8a5d8ac5f3ea2126.tar.gz linux-f9a015391e8908e68bd3147a8a5d8ac5f3ea2126.tar.bz2 linux-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/atari')
-rw-r--r-- | arch/m68k/atari/config.c | 2 | ||||
-rw-r--r-- | arch/m68k/atari/time.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/atari/config.c b/arch/m68k/atari/config.c index 7ec3161e8517..50fda4bea521 100644 --- a/arch/m68k/atari/config.c +++ b/arch/m68k/atari/config.c @@ -77,7 +77,7 @@ static void atari_heartbeat(int on); #endif /* atari specific timer functions (in time.c) */ -extern void atari_sched_init(irq_handler_t); +extern void atari_sched_init(void); extern int atari_mste_hwclk (int, struct rtc_time *); extern int atari_tt_hwclk (int, struct rtc_time *); diff --git a/arch/m68k/atari/time.c b/arch/m68k/atari/time.c index 36d811ae09ee..1068670cb741 100644 --- a/arch/m68k/atari/time.c +++ b/arch/m68k/atari/time.c @@ -56,7 +56,7 @@ static irqreturn_t mfp_timer_c_handler(int irq, void *dev_id) } void __init -atari_sched_init(irq_handler_t timer_routine) +atari_sched_init(void) { /* set Timer C data Register */ st_mfp.tim_dt_c = INT_TICKS; |