diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-11-20 03:18:30 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-12-06 02:45:37 +0100 |
commit | 417528a2e35f46bc42721de5c4efd33a0eba019d (patch) | |
tree | 622d88ef2f82910063e841fd70d8720465c4dcef /arch/sh/kernel/timers/timer-tmu.c | |
parent | sh: Fixup entry-common path breakage for SH-3. (diff) | |
download | linux-417528a2e35f46bc42721de5c4efd33a0eba019d.tar.xz linux-417528a2e35f46bc42721de5c4efd33a0eba019d.zip |
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-tmu.c')
-rw-r--r-- | arch/sh/kernel/timers/timer-tmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/timers/timer-tmu.c b/arch/sh/kernel/timers/timer-tmu.c index 24927015dc31..06a70db7386d 100644 --- a/arch/sh/kernel/timers/timer-tmu.c +++ b/arch/sh/kernel/timers/timer-tmu.c @@ -149,7 +149,7 @@ static int tmu_timer_init(void) { unsigned long interval; - setup_irq(TIMER_IRQ, &tmu_irq); + setup_irq(CONFIG_SH_TIMER_IRQ, &tmu_irq); tmu0_clk.parent = clk_get("module_clk"); |