summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/platform
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-02-09 04:43:58 +0100
committerGreg Ungerer <gerg@uclinux.org>2011-02-16 00:43:46 +0100
commit86d306c96046be597147d9f8ff163a052b3845d8 (patch)
treeb85172a5d49138756af7461cc70e88b14b652279 /arch/m68knommu/platform
parentm68knommu: remove use of IRQ_FLG_LOCK from 68360 platform support (diff)
downloadlinux-86d306c96046be597147d9f8ff163a052b3845d8.tar.xz
linux-86d306c96046be597147d9f8ff163a052b3845d8.zip
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>
Diffstat (limited to 'arch/m68knommu/platform')
-rw-r--r--arch/m68knommu/platform/5249/intc2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68knommu/platform/5249/intc2.c b/arch/m68knommu/platform/5249/intc2.c
index d09d9da04537..c5151f846591 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;
}