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-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=21b4c415e43717b3dbc17ebef66ee2054f8f2e21;p=openwrt%2Fstaging%2Fblogic.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");