summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2/generic.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-05-25 17:36:19 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-08-07 12:10:54 +0200
commitc5aa0ad0c557c63dcaf8c8d75a3dd4c5e90724b3 (patch)
tree9750fbbf8e9c57e9cd9a948d8740fc65df93a5e6 /arch/arm/mach-mx2/generic.c
parent12308dfe3776ff5741fc675f2a352165e1628098 (diff)
downloadblackbird-op-linux-c5aa0ad0c557c63dcaf8c8d75a3dd4c5e90724b3.tar.gz
blackbird-op-linux-c5aa0ad0c557c63dcaf8c8d75a3dd4c5e90724b3.zip
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 bdc5a6e67be0..ae8f759134d1 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();
+}
+
OpenPOWER on IntegriCloud