diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2014-11-25 13:34:18 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-11-30 01:53:20 +0300 |
commit | 38393409da345cd48d94a0e74c7bbc3402742882 (patch) | |
tree | acaf242fb38292ed5c4c401beb375126c40bb033 /include/linux/pm_opp.h | |
parent | a7470db6fec481b14afea117846fce383671ba59 (diff) | |
download | linux-38393409da345cd48d94a0e74c7bbc3402742882.tar.xz |
PM / OPP mark OPPs as 'static' or 'dynamic'
Static OPPs are the ones created from Device Tree entries and dynamic are the
ones created at runtime by calling dev_pm_opp_add().
There is a need to distinguish them as we need to free static OPPs from cpufreq
drivers when they are removed.
So, add another field 'dynamic' in 'struct dev_pm_opp' to keep this information.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/pm_opp.h')
0 files changed, 0 insertions, 0 deletions