summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/irq.c
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2008-07-05 12:02:49 +0400
committerRobert Schwebel <r.schwebel@pengutronix.de>2008-07-05 12:02:49 +0400
commit07bd1a6cc7cbb3f373fbe49b204c6cde5e9155fc (patch)
tree94a09785b99feebe4c83e836a976fe7fbf146813 /arch/arm/plat-mxc/irq.c
parente3d13ff4b9d3b05d7a969153e2c049548e25deea (diff)
downloadlinux-07bd1a6cc7cbb3f373fbe49b204c6cde5e9155fc.tar.xz
MXC arch: Add gpio support for the whole platform
This patch bases on the one from Daniel Mack. The most important change to Daniel's patch is to be more generic. This gpio routine supports at least the i.MX27 and i.MX31 processors. Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de> Acked-by: Daniel Mack <daniel@caiaq.de>
Diffstat (limited to 'arch/arm/plat-mxc/irq.c')
-rw-r--r--arch/arm/plat-mxc/irq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/irq.c b/arch/arm/plat-mxc/irq.c
index 2ad5a6917b3f..88f0cfababda 100644
--- a/arch/arm/plat-mxc/irq.c
+++ b/arch/arm/plat-mxc/irq.c
@@ -71,5 +71,8 @@ void __init mxc_init_irq(void)
reg |= (0xF << 28);
__raw_writel(reg, AVIC_NIPRIORITY6);
+ /* init architectures chained interrupt handler */
+ mxc_register_gpios();
+
printk(KERN_INFO "MXC IRQ initialized\n");
}