ARM: pm: allow suspend finisher to return error codes
[pandora-kernel.git] / arch / arm / mach-omap2 / pm34xx.c
index 7238a63..b77d826 100644 (file)
@@ -321,9 +321,10 @@ static void omap34xx_save_context(u32 *save)
        *save++ = val;
 }
 
-static void omap34xx_do_sram_idle(unsigned long save_state)
+static int omap34xx_do_sram_idle(unsigned long save_state)
 {
        omap34xx_cpu_suspend(save_state);
+       return 0;
 }
 
 void omap_sram_idle(void)