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:
@@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user