diff options
Diffstat (limited to 'arch/arm/mach-omap2/pm.c')
-rw-r--r-- | arch/arm/mach-omap2/pm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c index f9fd3e3d0a59..9aaa7a2633e8 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c | |||
@@ -362,11 +362,11 @@ static int omap2_pm_finish(suspend_state_t state) | |||
362 | return 0; | 362 | return 0; |
363 | } | 363 | } |
364 | 364 | ||
365 | static struct pm_ops omap_pm_ops = { | 365 | static struct platform_suspend_ops omap_pm_ops = { |
366 | .prepare = omap2_pm_prepare, | 366 | .prepare = omap2_pm_prepare, |
367 | .enter = omap2_pm_enter, | 367 | .enter = omap2_pm_enter, |
368 | .finish = omap2_pm_finish, | 368 | .finish = omap2_pm_finish, |
369 | .valid = pm_valid_only_mem, | 369 | .valid = suspend_valid_only_mem, |
370 | }; | 370 | }; |
371 | 371 | ||
372 | int __init omap2_pm_init(void) | 372 | int __init omap2_pm_init(void) |
@@ -390,7 +390,7 @@ int __init omap2_pm_init(void) | |||
390 | omap2_sram_suspend = omap_sram_push(omap24xx_cpu_suspend, | 390 | omap2_sram_suspend = omap_sram_push(omap24xx_cpu_suspend, |
391 | omap24xx_cpu_suspend_sz); | 391 | omap24xx_cpu_suspend_sz); |
392 | 392 | ||
393 | pm_set_ops(&omap_pm_ops); | 393 | suspend_set_ops(&omap_pm_ops); |
394 | pm_idle = omap2_pm_idle; | 394 | pm_idle = omap2_pm_idle; |
395 | 395 | ||
396 | pmdomain_init(); | 396 | pmdomain_init(); |