aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanjun Guo <hanjun.guo@linaro.org>2013-08-13 06:20:09 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-14 16:24:23 -0400
commit295dbde1c6d5a07979d2f0ba7aff4c170656314a (patch)
tree7895df48dfd09db765afd45be80279c0ae99d53e
parentaf97385ad4054fc2f2e1eddfe3d9f4a12e36e051 (diff)
cpufreq / pxa2xx: Fix pxa_cpufreq_init_voltages() __init attribute location
__init belongs after the return type on functions, not before it. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/cpufreq/pxa2xx-cpufreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/pxa2xx-cpufreq.c b/drivers/cpufreq/pxa2xx-cpufreq.c
index fb3981ac829f..8749eaf18793 100644
--- a/drivers/cpufreq/pxa2xx-cpufreq.c
+++ b/drivers/cpufreq/pxa2xx-cpufreq.c
@@ -191,7 +191,7 @@ static int pxa_cpufreq_change_voltage(pxa_freqs_t *pxa_freq)
191 return ret; 191 return ret;
192} 192}
193 193
194static __init void pxa_cpufreq_init_voltages(void) 194static void __init pxa_cpufreq_init_voltages(void)
195{ 195{
196 vcc_core = regulator_get(NULL, "vcc_core"); 196 vcc_core = regulator_get(NULL, "vcc_core");
197 if (IS_ERR(vcc_core)) { 197 if (IS_ERR(vcc_core)) {
@@ -207,7 +207,7 @@ static int pxa_cpufreq_change_voltage(pxa_freqs_t *pxa_freq)
207 return 0; 207 return 0;
208} 208}
209 209
210static __init void pxa_cpufreq_init_voltages(void) { } 210static void __init pxa_cpufreq_init_voltages(void) { }
211#endif 211#endif
212 212
213static void find_freq_tables(struct cpufreq_frequency_table **freq_table, 213static void find_freq_tables(struct cpufreq_frequency_table **freq_table,