summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/timers/timer.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-05-12 10:25:54 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-05-12 19:53:14 +0900
commitf19900b2e608b604777a74d6d711bbf744657756 (patch)
treebf588e8de67316adc5d26c62a1d3c86b9f556e7d /arch/sh/kernel/timers/timer.c
parent2b23a8826a60268ec52302729911dd7ac6b10776 (diff)
downloadkernel-crypto-f19900b2e608b604777a74d6d711bbf744657756.tar.gz
kernel-crypto-f19900b2e608b604777a74d6d711bbf744657756.tar.xz
kernel-crypto-f19900b2e608b604777a74d6d711bbf744657756.zip
sh: remove old TMU driver
This patch removes the old TMU driver (CONFIG_SH_TMU/timer-tmu.c) As replacement, select the sh_tmu driver with CONFIG_SH_TIMER_TMU and configure timer channel using platform data. If multiple TMU channels are enabled using platform data, use the earlytimer parameter on the kernel command line to select channel. For instance, use "earlytimer=sh_tmu.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 920891acb77..f8812bd3b79 100644
--- a/arch/sh/kernel/timers/timer.c
+++ b/arch/sh/kernel/timers/timer.c
@@ -14,9 +14,6 @@
#include <asm/timer.h>
static struct sys_timer *sys_timers[] = {
-#ifdef CONFIG_SH_TMU
- &tmu_timer,
-#endif
NULL,
};