From: Greg Ungerer Date: Wed, 9 Feb 2011 03:43:58 +0000 (+1000) Subject: m68knommu: set flow handler for secondary interrupt controller of 5249 X-Git-Tag: upstream/snapshot3+hdmi~11447^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86d306c96046be597147d9f8ff163a052b3845d8;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 --- diff --git a/arch/m68knommu/platform/5249/intc2.c b/arch/m68knommu/platform/5249/intc2.c index d09d9da..c5151f8 100644 --- a/arch/m68knommu/platform/5249/intc2.c +++ b/arch/m68knommu/platform/5249/intc2.c @@ -50,8 +50,10 @@ static int __init mcf_intc2_init(void) int irq; /* 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; + set_irq_handler(irq, handle_edge_irq); + } return 0; }