diff options
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/loongson2_cpufreq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpufreq/loongson2_cpufreq.c b/drivers/cpufreq/loongson2_cpufreq.c index dd4f3e46f724..2c8ec8e06449 100644 --- a/drivers/cpufreq/loongson2_cpufreq.c +++ b/drivers/cpufreq/loongson2_cpufreq.c | |||
@@ -131,8 +131,7 @@ static int loongson2_cpufreq_cpu_init(struct cpufreq_policy *policy) | |||
131 | return ret; | 131 | return ret; |
132 | } | 132 | } |
133 | 133 | ||
134 | return cpufreq_table_validate_and_show(policy, | 134 | return cpufreq_generic_init(policy, &loongson2_clockmod_table[0], 0); |
135 | &loongson2_clockmod_table[0]); | ||
136 | } | 135 | } |
137 | 136 | ||
138 | static int loongson2_cpufreq_exit(struct cpufreq_policy *policy) | 137 | static int loongson2_cpufreq_exit(struct cpufreq_policy *policy) |