diff options
-rw-r--r-- | arch/arm/mach-lpc32xx/irq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-lpc32xx/irq.c b/arch/arm/mach-lpc32xx/irq.c index 54c68b12bae0..f06229687026 100644 --- a/arch/arm/mach-lpc32xx/irq.c +++ b/arch/arm/mach-lpc32xx/irq.c | |||
@@ -447,10 +447,6 @@ void __init lpc32xx_init_irq(void) | |||
447 | __raw_writel(0, LPC32XX_INTC_MASK(LPC32XX_SIC1_BASE)); | 447 | __raw_writel(0, LPC32XX_INTC_MASK(LPC32XX_SIC1_BASE)); |
448 | __raw_writel(0, LPC32XX_INTC_MASK(LPC32XX_SIC2_BASE)); | 448 | __raw_writel(0, LPC32XX_INTC_MASK(LPC32XX_SIC2_BASE)); |
449 | 449 | ||
450 | /* MIC SUBIRQx interrupts will route handling to the chain handlers */ | ||
451 | irq_set_chained_handler(IRQ_LPC32XX_SUB1IRQ, lpc32xx_sic1_handler); | ||
452 | irq_set_chained_handler(IRQ_LPC32XX_SUB2IRQ, lpc32xx_sic2_handler); | ||
453 | |||
454 | /* Initially disable all wake events */ | 450 | /* Initially disable all wake events */ |
455 | __raw_writel(0, LPC32XX_CLKPWR_P01_ER); | 451 | __raw_writel(0, LPC32XX_CLKPWR_P01_ER); |
456 | __raw_writel(0, LPC32XX_CLKPWR_INT_ER); | 452 | __raw_writel(0, LPC32XX_CLKPWR_INT_ER); |
@@ -479,4 +475,8 @@ void __init lpc32xx_init_irq(void) | |||
479 | NULL); | 475 | NULL); |
480 | if (!lpc32xx_mic_domain) | 476 | if (!lpc32xx_mic_domain) |
481 | panic("Unable to add MIC irq domain\n"); | 477 | panic("Unable to add MIC irq domain\n"); |
478 | |||
479 | /* MIC SUBIRQx interrupts will route handling to the chain handlers */ | ||
480 | irq_set_chained_handler(IRQ_LPC32XX_SUB1IRQ, lpc32xx_sic1_handler); | ||
481 | irq_set_chained_handler(IRQ_LPC32XX_SUB2IRQ, lpc32xx_sic2_handler); | ||
482 | } | 482 | } |