summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx2/generic.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-05-25 15:36:19 (GMT)
committerSascha Hauer <s.hauer@pengutronix.de>2009-08-07 10:10:54 (GMT)
commitc5aa0ad0c557c63dcaf8c8d75a3dd4c5e90724b3 (patch)
tree9750fbbf8e9c57e9cd9a948d8740fc65df93a5e6 /arch/arm/mach-mx2/generic.c
parent12308dfe3776ff5741fc675f2a352165e1628098 (diff)
downloadlinux-c5aa0ad0c557c63dcaf8c8d75a3dd4c5e90724b3.tar.xz
mxc: turn to soc specific init_irq functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx2/generic.c')
-rw-r--r--arch/arm/mach-mx2/generic.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-mx2/generic.c b/arch/arm/mach-mx2/generic.c
index bdc5a6e..ae8f759 100644
--- a/arch/arm/mach-mx2/generic.c
+++ b/arch/arm/mach-mx2/generic.c
@@ -85,3 +85,13 @@ void __init mx27_map_io(void)
iotable_init(mxc_io_desc, ARRAY_SIZE(mxc_io_desc));
}
+void __init mx27_init_irq(void)
+{
+ mxc_init_irq(IO_ADDRESS(AVIC_BASE_ADDR));
+}
+
+void __init mx21_init_irq(void)
+{
+ mx27_init_irq();
+}
+