cpufreq / s3c24xx: Fix s3c_cpufreq_initclks() __init attribute location
authorHanjun Guo <hanjun.guo@linaro.org>
Tue, 13 Aug 2013 10:20:10 +0000 (18:20 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Aug 2013 20:24:24 +0000 (22:24 +0200)
__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>
drivers/cpufreq/s3c24xx-cpufreq.c

index f169ee52e6ebf734d73e1bea4d956e829a18f7a3..b0f343fcb7eefdfe40b942b202398372a618df44 100644 (file)
@@ -392,7 +392,7 @@ static int s3c_cpufreq_init(struct cpufreq_policy *policy)
        return 0;
 }
 
-static __init int s3c_cpufreq_initclks(void)
+static int __init s3c_cpufreq_initclks(void)
 {
        _clk_mpll = s3c_cpufreq_clk_get(NULL, "mpll");
        _clk_xtal = s3c_cpufreq_clk_get(NULL, "xtal");