[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1947441.CQOukoFCf9@rjwysocki.net>
Date: Wed, 25 Jun 2025 21:20:42 +0200
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Linux PM <linux-pm@...r.kernel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Linux ACPI <linux-acpi@...r.kernel.org>,
Linux PCI <linux-pci@...r.kernel.org>, Ulf Hansson <ulf.hansson@...aro.org>,
Mika Westerberg <mika.westerberg@...ux.intel.com>
Subject: [PATCH v1 5/9] PM: Move needs_force_resume under CONFIG_PM_SLEEP
From: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
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@...el.com>
---
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;
Powered by blists - more mailing lists