summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq_ondemand.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-02-18 18:41:36 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-09 14:41:09 +0100
commit47ebaac1f32dc606262be48a72f9cea6af376414 (patch)
tree9029e05e72c70383a205bfde274d4f3084c662f3 /drivers/cpufreq/cpufreq_ondemand.h
parentcpufreq: governor: Move per-CPU data to the common code (diff)
downloadlinux-47ebaac1f32dc606262be48a72f9cea6af376414.tar.xz
linux-47ebaac1f32dc606262be48a72f9cea6af376414.zip
cpufreq: governor: Relocate definitions of tuners structures
Move the definitions of struct od_dbs_tuners and struct cs_dbs_tuners from the common governor header to the ondemand and conservative governor code, respectively, as they don't need to be in the common header any more. No functional changes. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq_ondemand.h')
-rw-r--r--drivers/cpufreq/cpufreq_ondemand.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq_ondemand.h b/drivers/cpufreq/cpufreq_ondemand.h
index 22403e4e0cb0..f0121db3cd9e 100644
--- a/drivers/cpufreq/cpufreq_ondemand.h
+++ b/drivers/cpufreq/cpufreq_ondemand.h
@@ -24,3 +24,7 @@ static inline struct od_policy_dbs_info *to_dbs_info(struct policy_dbs_info *pol
{
return container_of(policy_dbs, struct od_policy_dbs_info, policy_dbs);
}
+
+struct od_dbs_tuners {
+ unsigned int powersave_bias;
+};