power management: implement pm_ops.valid for everybody
[firefly-linux-kernel-4.4.55.git] / arch / sh / boards / hp6xx / pm.c
index 4b2f29a4bde9e5ff496428a283dbfa60debc140b..8143d1b948e7e2b4d33820abba8d5984866c8eaf 100644 (file)
@@ -69,6 +69,7 @@ static int hp6x0_pm_enter(suspend_state_t state)
 
 static struct pm_ops hp6x0_pm_ops = {
        .enter          = hp6x0_pm_enter,
+       .valid          = pm_valid_only_mem,
 };
 
 static int __init hp6x0_pm_init(void)