]> err.no Git - linux-2.6/blobdiff - arch/arm/mach-at91/pm.c
Merge branch 'sg' of git://git.kernel.dk/linux-2.6-block
[linux-2.6] / arch / arm / mach-at91 / pm.c
index c7c81c9f769cb48c398f663f8a8dbdde753bd975..98cb61482917a921d5ddaec2bc13925999097a0b 100644 (file)
@@ -198,7 +198,7 @@ error:
 }
 
 
-static struct pm_ops at91_pm_ops ={
+static struct platform_suspend_ops at91_pm_ops ={
        .valid          = at91_pm_valid_state,
        .set_target     = at91_pm_set_target,
        .enter          = at91_pm_enter,
@@ -219,7 +219,7 @@ static int __init at91_pm_init(void)
        /* Disable SDRAM low-power mode.  Cannot be used with self-refresh. */
        at91_sys_write(AT91_SDRAMC_LPR, 0);
 
-       pm_set_ops(&at91_pm_ops);
+       suspend_set_ops(&at91_pm_ops);
 
        return 0;
 }