From: Hanjun Guo Date: Tue, 13 Aug 2013 10:20:10 +0000 (+0800) Subject: cpufreq / s3c24xx: Fix s3c_cpufreq_initclks() __init attribute location X-Git-Tag: v3.12-rc1~35^2~1^2~16^2~8 X-Git-Url: http://git.cascardo.info/?a=commitdiff_plain;ds=sidebyside;h=21b4c415e43717b3dbc17ebef66ee2054f8f2e21;p=cascardo%2Flinux.git cpufreq / s3c24xx: Fix s3c_cpufreq_initclks() __init attribute location __init belongs after the return type on functions, not before it. Signed-off-by: Hanjun Guo Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/cpufreq/s3c24xx-cpufreq.c b/drivers/cpufreq/s3c24xx-cpufreq.c index f169ee52e6eb..b0f343fcb7ee 100644 --- a/drivers/cpufreq/s3c24xx-cpufreq.c +++ b/drivers/cpufreq/s3c24xx-cpufreq.c @@ -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");