summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-06-24 15:07:27 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-06-24 15:07:27 +0200
commit9b77df5ce62e2f8ddd73ebb6b2c882aa8dc9ffb7 (patch)
tree9ceadd7839c8656738a95562e46b0fe8da45284f
parent9e895ace5d82df8929b16f58e9f515f6d54ab82d (diff)
parent166b9addd83aaf6eb22d9db7dc015f81913c9a0e (diff)
Merge branch 'cpufreq-next' of git://git.linaro.org/people/vireshk/linux into pm-cpufreq-arm
Pull ARM cpufreq fixes from Viresh Kumar. * 'cpufreq-next' of git://git.linaro.org/people/vireshk/linux: cpufreq: s3c2416: fix forgotten driver_data conversions
-rw-r--r--drivers/cpufreq/s3c2416-cpufreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/s3c2416-cpufreq.c b/drivers/cpufreq/s3c2416-cpufreq.c
index 4f1881eee3f1..f1233143e3e3 100644
--- a/drivers/cpufreq/s3c2416-cpufreq.c
+++ b/drivers/cpufreq/s3c2416-cpufreq.c
@@ -312,7 +312,7 @@ static void __init s3c2416_cpufreq_cfg_regulator(struct s3c2416_data *s3c_freq)
if (freq->frequency == CPUFREQ_ENTRY_INVALID)
continue;
- dvfs = &s3c2416_dvfs_table[freq->index];
+ dvfs = &s3c2416_dvfs_table[freq->driver_data];
found = 0;
/* Check only the min-voltage, more is always ok on S3C2416 */
@@ -462,7 +462,7 @@ static int __init s3c2416_cpufreq_driver_init(struct cpufreq_policy *policy)
freq = s3c_freq->freq_table;
while (freq->frequency != CPUFREQ_TABLE_END) {
/* special handling for dvs mode */
- if (freq->index == 0) {
+ if (freq->driver_data == 0) {
if (!s3c_freq->hclk) {
pr_debug("cpufreq: %dkHz unsupported as it would need unavailable dvs mode\n",
freq->frequency);