diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2013-08-06 13:23:08 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-09 21:24:06 -0400 |
commit | c88a1f8b96e7384627b918dfabbfc0c615a4a914 (patch) | |
tree | cc628531b29544c5ce24a8963adbcb3bef38c04a /include | |
parent | d5b73cd870e2b049ef566aec2791dbf5fd26a7ec (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cpufreq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 29208923c9d3..431a05d4b4c9 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h | |||
@@ -82,6 +82,7 @@ struct cpufreq_policy { | |||
82 | 82 | ||
83 | struct cpufreq_real_policy user_policy; | 83 | struct cpufreq_real_policy user_policy; |
84 | 84 | ||
85 | struct list_head policy_list; | ||
85 | struct kobject kobj; | 86 | struct kobject kobj; |
86 | struct completion kobj_unregister; | 87 | struct completion kobj_unregister; |
87 | int transition_ongoing; /* Tracks transition status */ | 88 | int transition_ongoing; /* Tracks transition status */ |