summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/timer.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-04-30 09:12:09 +0200
committerPaul Mundt <lethal@linux-sh.org>2009-05-03 10:40:13 +0200
commit3280c8865e1b738604bacdea54738acef31e8c12 (patch)
treee6019038b1b0f68bdb01d3e52a627c222425ae46 /arch/sh/include/asm/timer.h
parentsh: sh2a MTU2 platform data (diff)
downloadlinux-3280c8865e1b738604bacdea54738acef31e8c12.tar.xz
linux-3280c8865e1b738604bacdea54738acef31e8c12.zip
sh: remove old MTU2 driver
This patch removes the old MTU2 driver (CONFIG_SH_MTU2/timer-mtu2.c) As replacement, select the sh_cmt driver with CONFIG_SH_TIMER_MTU2 and configure timer channel using platform data. If multiple MTU channels are enabled using platform data, use the earlytimer parameter on the kernel command line to select channel. For instance, use "earlytimer=sh_mtu2.0" to select the first channel. To verify which timer is being used, look at printouts or the timer irq count in /proc/interrupts. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/timer.h')
-rw-r--r--arch/sh/include/asm/timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/asm/timer.h b/arch/sh/include/asm/timer.h
index 9c968d19cb9b..581e3fe3fe04 100644
--- a/arch/sh/include/asm/timer.h
+++ b/arch/sh/include/asm/timer.h
@@ -23,7 +23,7 @@ struct sys_timer {
#define TICK_SIZE (tick_nsec / 1000)
-extern struct sys_timer tmu_timer, mtu2_timer;
+extern struct sys_timer tmu_timer;
extern struct sys_timer *sys_timer;
#ifdef CONFIG_ARCH_USES_GETTIMEOFFSET