summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mmp/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mmp/irq.c')
-rw-r--r--arch/arm/mach-mmp/irq.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/irq.c b/arch/arm/mach-mmp/irq.c
index 3705470c9f1e..04935f156239 100644
--- a/arch/arm/mach-mmp/irq.c
+++ b/arch/arm/mach-mmp/irq.c
@@ -23,6 +23,10 @@
#include <mach/irqs.h>
+#ifdef CONFIG_CPU_MMP2
+#include <mach/pm-mmp2.h>
+#endif
+
#include "common.h"
#define MAX_ICU_NR 16
@@ -305,6 +309,9 @@ void __init mmp2_init_icu(void)
set_irq_flags(irq, IRQF_VALID);
}
irq_set_default_host(icu_data[0].domain);
+#ifdef CONFIG_CPU_MMP2
+ icu_irq_chip.irq_set_wake = mmp2_set_wake;
+#endif
}
#ifdef CONFIG_OF