author: Beata Michalska <beata.michalska@arm.com> 2021-03-04 15:07:34 +0000
committer: Viresh Kumar <viresh.kumar@linaro.org> 2021-03-12 09:26:52 +0530
commit: 606a5d4227e4610399c61086ac55c46068a90b03
parent: a38fd8748464831584a19438cbb3082b5a2dab15
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/drivers/opp/opp.h b/drivers/opp/opp.h
index 50fb9dced3c5..407c3bfe51d9 100644
--- a/drivers/opp/opp.h
+++ b/drivers/opp/opp.h
@@ -56,6 +56,7 @@ extern struct list_head opp_tables, lazy_opp_tables;
* @dynamic: not-created from static DT entries.
* @turbo: true if turbo (boost) OPP
* @suspend: true if suspend OPP
+ * @removed: flag indicating that OPP's reference is dropped by OPP core.
* @pstate: Device's power domain's performance state.
* @rate: Frequency in hertz
* @level: Performance level
@@ -78,6 +79,7 @@ struct dev_pm_opp {
bool dynamic;
bool turbo;
bool suspend;
+ bool removed;
unsigned int pstate;
unsigned long rate;
unsigned int level;