Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275402
b: refs/heads/master
c: eb0b38a
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Dave Jones committed Nov 12, 2011
1 parent f218242 commit 45fd0c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f042aa75afccc45c5b60517f51644bce3f52545
refs/heads/master: eb0b38a5d2c063cd8dc9e44415ce08e30d95f571
6 changes: 3 additions & 3 deletions trunk/drivers/cpufreq/db8500-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static unsigned int db8500_cpufreq_getspeed(unsigned int cpu)

static int __cpuinit db8500_cpufreq_init(struct cpufreq_policy *policy)
{
int res;
int i, res;

BUILD_BUG_ON(ARRAY_SIZE(idx2opp) + 1 != ARRAY_SIZE(freq_table));

Expand All @@ -120,8 +120,8 @@ static int __cpuinit db8500_cpufreq_init(struct cpufreq_policy *policy)
freq_table[3].frequency = 1000000;
}
pr_info("db8500-cpufreq : Available frequencies:\n");
while (freq_table[i].frequency != CPUFREQ_TABLE_END)
pr_info(" %d Mhz\n", freq_table[i++].frequency/1000);
for (i = 0; freq_table[i].frequency != CPUFREQ_TABLE_END; i++)
pr_info(" %d Mhz\n", freq_table[i].frequency/1000);

/* get policy fields based on the table */
res = cpufreq_frequency_table_cpuinfo(policy, freq_table);
Expand Down

0 comments on commit 45fd0c5

Please sign in to comment.