aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/kernel/timers/timer-mtu2.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-11-20 11:18:30 +0900
committerPaul Mundt <lethal@linux-sh.org>2006-12-06 10:45:37 +0900
commit417528a2e35f46bc42721de5c4efd33a0eba019d (patch)
tree622d88ef2f82910063e841fd70d8720465c4dcef /arch/sh/kernel/timers/timer-mtu2.c
parent716067f28931d46b9f460acbeae1478a337e58ec (diff)
sh: Configurable timer IRQ.
All of the various CPU subtypes currently hardcode TIMER_IRQ, switch this to a config option in the few places we need this. This allows further removal of hardcoded IRQ headers.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/timers/timer-mtu2.c')
-rw-r--r--arch/sh/kernel/timers/timer-mtu2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/timers/timer-mtu2.c b/arch/sh/kernel/timers/timer-mtu2.c
index 045b2aba13f..92c98b5b11e 100644
--- a/arch/sh/kernel/timers/timer-mtu2.c
+++ b/arch/sh/kernel/timers/timer-mtu2.c
@@ -167,7 +167,7 @@ static int mtu2_timer_init(void)
u8 tmp;
unsigned long interval;
- setup_irq(TIMER_IRQ, &mtu2_irq);
+ setup_irq(CONFIG_SH_TIMER_IRQ, &mtu2_irq);
mtu2_clk1.parent = clk_get("module_clk");