From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx> All of the code using the needs_force_resume flag in struct dev_pm_info is under CONFIG_PM_SLEEP now, so move that flag under CONFIG_PM_SLEEP too. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx> --- include/linux/pm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -683,6 +683,7 @@ bool smart_suspend:1; /* Owned by the PM core */ bool must_resume:1; /* Owned by the PM core */ bool may_skip_resume:1; /* Set by subsystems */ + bool needs_force_resume:1; #else bool should_wakeup:1; #endif @@ -698,7 +699,6 @@ bool idle_notification:1; bool request_pending:1; bool deferred_resume:1; - bool needs_force_resume:1; bool runtime_auto:1; bool ignore_children:1; bool no_callbacks:1;