aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap1/pm.c')
-rw-r--r--arch/arm/mach-omap1/pm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c
index 1a27611096a9..8db38dd247a4 100644
--- a/arch/arm/mach-omap1/pm.c
+++ b/arch/arm/mach-omap1/pm.c
@@ -673,11 +673,11 @@ static struct irqaction omap_wakeup_irq = {
673 673
674 674
675 675
676static struct pm_ops omap_pm_ops ={ 676static struct platform_suspend_ops omap_pm_ops ={
677 .prepare = omap_pm_prepare, 677 .prepare = omap_pm_prepare,
678 .enter = omap_pm_enter, 678 .enter = omap_pm_enter,
679 .finish = omap_pm_finish, 679 .finish = omap_pm_finish,
680 .valid = pm_valid_only_mem, 680 .valid = suspend_valid_only_mem,
681}; 681};
682 682
683static int __init omap_pm_init(void) 683static int __init omap_pm_init(void)
@@ -734,7 +734,7 @@ static int __init omap_pm_init(void)
734 else if (cpu_is_omap16xx()) 734 else if (cpu_is_omap16xx())
735 omap_writel(OMAP1610_IDLECT3_VAL, OMAP1610_IDLECT3); 735 omap_writel(OMAP1610_IDLECT3_VAL, OMAP1610_IDLECT3);
736 736
737 pm_set_ops(&omap_pm_ops); 737 suspend_set_ops(&omap_pm_ops);
738 738
739#if defined(DEBUG) && defined(CONFIG_PROC_FS) 739#if defined(DEBUG) && defined(CONFIG_PROC_FS)
740 omap_pm_init_proc(); 740 omap_pm_init_proc();