aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm34xx.c
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@ti.com>2008-10-08 08:00:58 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2009-11-11 17:42:48 -0500
commit99e6a4d22f7c7bda0cd8978333c2e85fba02f181 (patch)
tree22a31df1b559cfa4a43a0babf23d4d84ab290a37 /arch/arm/mach-omap2/pm34xx.c
parentf265dc4c5d39f2bd369d97c87a7bd89061b159d4 (diff)
OMAP3: PM: CPUidle: base driver and support for C1-C2
Basic CPUidle driver for OMAP3 with deepest sleep state supported being MPU CSWR. Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm34xx.c')
-rw-r--r--arch/arm/mach-omap2/pm34xx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index 01b95eaae75a..0c49db8afa99 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -318,7 +318,7 @@ static void restore_table_entry(void)
318 restore_control_register(control_reg_value); 318 restore_control_register(control_reg_value);
319} 319}
320 320
321static void omap_sram_idle(void) 321void omap_sram_idle(void)
322{ 322{
323 /* Variable to tell what needs to be saved and restored 323 /* Variable to tell what needs to be saved and restored
324 * in omap_sram_idle*/ 324 * in omap_sram_idle*/
@@ -1101,7 +1101,9 @@ static int __init omap3_pm_init(void)
1101 suspend_set_ops(&omap_pm_ops); 1101 suspend_set_ops(&omap_pm_ops);
1102#endif /* CONFIG_SUSPEND */ 1102#endif /* CONFIG_SUSPEND */
1103 1103
1104#ifndef CONFIG_CPU_IDLE
1104 pm_idle = omap3_pm_idle; 1105 pm_idle = omap3_pm_idle;
1106#endif
1105 1107
1106 pwrdm_add_wkdep(neon_pwrdm, mpu_pwrdm); 1108 pwrdm_add_wkdep(neon_pwrdm, mpu_pwrdm);
1107 /* 1109 /*