diff mbox

[2/3] ARM: OMAP2+: GPMC set dummy irq chip

Message ID 1300377606-16616-3-git-send-email-balajitk@ti.com (mailing list archive)
State Accepted
Commit 619d8e72a064d2fc7dbc5e06a3adb692aed8c00c
Delegated to: Tony Lindgren
Headers show

Commit Message

Balaji T K March 17, 2011, 4 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c
index 6741743..d81d536 100644
--- a/arch/arm/mach-omap2/gpmc.c
+++ b/arch/arm/mach-omap2/gpmc.c
@@ -739,7 +739,8 @@  static int __init gpmc_init(void)
 	/* initalize the irq_chained */
 	irq = OMAP_GPMC_IRQ_BASE;
 	for (cs = 0; cs < GPMC_CS_NUM; cs++) {
-		set_irq_handler(irq, handle_simple_irq);
+		set_irq_chip_and_handler(irq, &dummy_irq_chip,
+						handle_simple_irq);
 		set_irq_flags(irq, IRQF_VALID);
 		irq++;
 	}