mirror of https://gitee.com/openkylin/linux.git
m68knommu: set flow handler for secondary interrupt controller of 5249
The secondary interrupt controller of the ColdFire 5249 code is not setting the edge triggered flow handler. Set it. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
This commit is contained in:
parent
4531dab429
commit
86d306c960
|
@ -50,8 +50,10 @@ static int __init mcf_intc2_init(void)
|
||||||
int irq;
|
int irq;
|
||||||
|
|
||||||
/* GPIO interrupt sources */
|
/* GPIO interrupt sources */
|
||||||
for (irq = MCFINTC2_GPIOIRQ0; (irq <= MCFINTC2_GPIOIRQ7); irq++)
|
for (irq = MCFINTC2_GPIOIRQ0; (irq <= MCFINTC2_GPIOIRQ7); irq++) {
|
||||||
irq_desc[irq].chip = &intc2_irq_gpio_chip;
|
irq_desc[irq].chip = &intc2_irq_gpio_chip;
|
||||||
|
set_irq_handler(irq, handle_edge_irq);
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue