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:
@@ -79,7 +79,7 @@ static int __init sh7780_devices_setup(void)
|
||||
__initcall(sh7780_devices_setup);
|
||||
|
||||
static struct intc2_data intc2_irq_table[] = {
|
||||
{ TIMER_IRQ, 0, 24, 0, INTC_TMU0_MSK, 2 },
|
||||
{ 28, 0, 24, 0, INTC_TMU0_MSK, 2 },
|
||||
{ 21, 1, 0, 0, INTC_RTC_MSK, TIMER_PRIORITY },
|
||||
{ 22, 1, 1, 0, INTC_RTC_MSK, TIMER_PRIORITY },
|
||||
{ 23, 1, 2, 0, INTC_RTC_MSK, TIMER_PRIORITY },
|
||||
|
Reference in New Issue
Block a user