diff options
author | Chao Xie <chao.xie@marvell.com> | 2012-05-07 11:24:01 +0800 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-05-07 11:48:37 +0800 |
commit | 902ca2297180fe97f840427c114cc6dc7e77375e (patch) | |
tree | b4fcc0f77a1af56b76f520f05b9315e9fb0a08d1 /arch/arm/mach-mmp/irq.c | |
parent | f4466946c103372d3dd845ec55af1d2dc89ece33 (diff) |
ARM: mmp: add pm support for pxa910
add suspend/resume functionality for pxa910
Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Raul Xiong <xjian@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'arch/arm/mach-mmp/irq.c')
-rw-r--r-- | arch/arm/mach-mmp/irq.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/irq.c b/arch/arm/mach-mmp/irq.c index 04935f156239..fcfe0e3bd701 100644 --- a/arch/arm/mach-mmp/irq.c +++ b/arch/arm/mach-mmp/irq.c @@ -26,6 +26,9 @@ #ifdef CONFIG_CPU_MMP2 #include <mach/pm-mmp2.h> #endif +#ifdef CONFIG_CPU_PXA910 +#include <mach/pm-pxa910.h> +#endif #include "common.h" @@ -213,6 +216,9 @@ void __init icu_init_irq(void) set_irq_flags(irq, IRQF_VALID); } irq_set_default_host(icu_data[0].domain); +#ifdef CONFIG_CPU_PXA910 + icu_irq_chip.irq_set_wake = pxa910_set_wake; +#endif } /* MMP2 (ARMv7) */ |