summaryrefslogtreecommitdiff
path: root/include/linux/pm.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-02-24 21:20:27 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-02-24 21:20:27 +0100
commit656f72bb2ef33cd832a0f8e80893cce09f3d43df (patch)
tree9770613baf50a704d50d3221c057b37ed0fc8730 /include/linux/pm.h
parent74fb44863084275b952f21ec6a024af0e2e75cb8 (diff)
parent85945c28b5a888043cb2b54f880d80d8915f21f5 (diff)
Merge back earlier PM core material for v5.1.
Diffstat (limited to 'include/linux/pm.h')
-rw-r--r--include/linux/pm.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h
index 0bd9de116826..06f7ed893928 100644
--- a/include/linux/pm.h
+++ b/include/linux/pm.h
@@ -592,6 +592,7 @@ struct dev_pm_info {
bool is_suspended:1; /* Ditto */
bool is_noirq_suspended:1;
bool is_late_suspended:1;
+ bool no_pm:1;
bool early_init:1; /* Owned by the PM core */
bool direct_complete:1; /* Owned by the PM core */
u32 driver_flags;
@@ -633,9 +634,9 @@ struct dev_pm_info {
int runtime_error;
int autosuspend_delay;
u64 last_busy;
- unsigned long active_jiffies;
- unsigned long suspended_jiffies;
- unsigned long accounting_timestamp;
+ u64 active_time;
+ u64 suspended_time;
+ u64 accounting_timestamp;
#endif
struct pm_subsys_data *subsys_data; /* Owned by the subsystem. */
void (*set_latency_tolerance)(struct device *, s32);