cpufreq: Store cpufreq policies in a list
Policies available in the cpufreq framework are now linked together. They are accessible via cpufreq_policy_list defined in the cpufreq core. [rjw: Fix from Yinghai Lu folded in] Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
d5b73cd870
commit
c88a1f8b96
2 changed files with 13 additions and 0 deletions
|
@ -82,6 +82,7 @@ struct cpufreq_policy {
|
|||
|
||||
struct cpufreq_real_policy user_policy;
|
||||
|
||||
struct list_head policy_list;
|
||||
struct kobject kobj;
|
||||
struct completion kobj_unregister;
|
||||
int transition_ongoing; /* Tracks transition status */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue