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>
This commit is contained in:
Paul Mundt
2006-11-20 11:18:30 +09:00
parent 716067f289
commit 417528a2e3
5 changed files with 11 additions and 4 deletions

View File

@@ -169,7 +169,7 @@ static int cmt_timer_init(void)
cmt_clock_enable();
setup_irq(TIMER_IRQ, &cmt_irq);
setup_irq(CONFIG_SH_TIMER_IRQ, &cmt_irq);
cmt0_clk.parent = clk_get("module_clk");