aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/kernel/timers/timer.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-04-30 04:09:26 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-04-30 13:21:14 +0900
commitf425752fc66acf1d4e47970ea704ed7d31c14173 (patch)
tree84784c46f0cfa6ac555a499cce9826918ae0feba /arch/sh/kernel/timers/timer.c
parent698aa99da5f5e2b4c666fd21ab77306f0225b8f5 (diff)
sh: remove old CMT driver
This patch removes the old CMT driver (CONFIG_SH_CMT/timer-cmt.c) As replacement, select the sh_cmt driver with CONFIG_SH_TIMER_CMT and configure timer channel using platform data. If multiple CMT channels are enabled using platform data, use the earlytimer parameter on the kernel command line to select channel. For instance, use "earlytimer=sh_cmt.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/kernel/timers/timer.c')
-rw-r--r--arch/sh/kernel/timers/timer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/kernel/timers/timer.c b/arch/sh/kernel/timers/timer.c
index 4e7e747d1b69..f3bd1413d568 100644
--- a/arch/sh/kernel/timers/timer.c
+++ b/arch/sh/kernel/timers/timer.c
@@ -20,9 +20,6 @@ static struct sys_timer *sys_timers[] = {
#ifdef CONFIG_SH_MTU2
&mtu2_timer,
#endif
-#ifdef CONFIG_SH_CMT
- &cmt_timer,
-#endif
NULL,
};