aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx2/generic.c
diff options
context:
space:
mode:
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 bdc5a6e67be..ae8f759134d 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();
+}
+