diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2014-08-28 11:22:23 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-09-09 01:44:40 +0200 |
commit | 413fffc3a1db7f270afdf1ecb35c1edc013acc68 (patch) | |
tree | da0c4b11018381946735c7ec537d9e95db657060 /drivers/cpufreq/cpufreq-cpu0.c | |
parent | d359992070901bcd774615910d36cec67dbdb1a7 (diff) |
cpufreq: Add support for per-policy driver data
Drivers supporting multiple clusters or multiple 'struct cpufreq_policy'
instances may need to keep per-policy data. If the core doesn't provide support
for that, they might do it in the most unoptimized way: 'per-cpu' data.
This patch adds another field in struct cpufreq_policy: 'driver_data'. It isn't
accessed by core and is for driver's internal use only.
Tested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq-cpu0.c')
0 files changed, 0 insertions, 0 deletions