diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2013-07-02 18:01:10 +0200 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-03-20 17:41:20 +0900 |
commit | 13635ca2d20dcaf75fd7ac4000ec8d2646dc409b (patch) | |
tree | bea9d3d4445a77003d63aa2d0c36b13a851f1643 /include | |
parent | 5b67fdf0df37f6e13e83778e47cf8d44052438ea (diff) | |
download | linux-3.10-13635ca2d20dcaf75fd7ac4000ec8d2646dc409b.tar.gz linux-3.10-13635ca2d20dcaf75fd7ac4000ec8d2646dc409b.tar.bz2 linux-3.10-13635ca2d20dcaf75fd7ac4000ec8d2646dc409b.zip |
cpufreq: Store cpufreq policies in a list
Policies available in a cpufreq framework are now linked together. They are
accessible via cpufreq_policy_list defined at cpufreq core.
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Changes for v6:
- Move policy list entry delete code to __cpufreq_remove_dev()
Changes for v5:
- Call list_add() only when device successfully added
Changes for v4:
- New patch
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 ab1932c5686..53489813c38 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -117,6 +117,7 @@ struct cpufreq_policy { struct cpufreq_real_policy user_policy; + struct list_head policy_list; struct kobject kobj; struct completion kobj_unregister; }; |