diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2013-08-06 22:53:08 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-10 03:24:06 +0200 |
commit | c88a1f8b96e7384627b918dfabbfc0c615a4a914 (patch) | |
tree | cc628531b29544c5ce24a8963adbcb3bef38c04a /include/linux/cpufreq.h | |
parent | d5b73cd870e2b049ef566aec2791dbf5fd26a7ec (diff) | |
download | linux-c88a1f8b96e7384627b918dfabbfc0c615a4a914.tar.gz linux-c88a1f8b96e7384627b918dfabbfc0c615a4a914.tar.bz2 linux-c88a1f8b96e7384627b918dfabbfc0c615a4a914.zip |
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/linux/cpufreq.h')
-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 { struct cpufreq_real_policy user_policy; + struct list_head policy_list; struct kobject kobj; struct completion kobj_unregister; int transition_ongoing; /* Tracks transition status */ |