aboutsummaryrefslogtreecommitdiff
path: root/kernel/cpu_pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cpu_pm.c')
-rw-r--r--kernel/cpu_pm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/cpu_pm.c b/kernel/cpu_pm.c
index 9656a3c3650..e16cbfd9834 100644
--- a/kernel/cpu_pm.c
+++ b/kernel/cpu_pm.c
@@ -222,6 +222,8 @@ static void cpu_pm_resume(void)
static struct syscore_ops cpu_pm_syscore_ops = {
.suspend = cpu_pm_suspend,
.resume = cpu_pm_resume,
+ .save = cpu_pm_suspend,
+ .restore = cpu_pm_resume,
};
static int cpu_pm_init(void)