ARM: S3C64XX: Fix section mismatch from cpufreq init
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 11 Mar 2011 07:10:03 +0000 (16:10 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 15 Mar 2011 11:38:10 +0000 (20:38 +0900)
The cpufreq init function is referenced from the driver structure and
we don't appear to have annotations which allow us to mark that it'll
never be called after system init, causing the linker consistency
infrastructure to complain. Just remove the __init annotation to avoid
noise from the build.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c64xx/cpufreq.c

index 74c0e8347de5892cdf45b15cb81f1fe5467faf66..4375b97588b818da3521d6ce565704cbbbc231e2 100644 (file)
@@ -181,7 +181,7 @@ static void __init s3c64xx_cpufreq_config_regulator(void)
 }
 #endif
 
-static int __init s3c64xx_cpufreq_driver_init(struct cpufreq_policy *policy)
+static int s3c64xx_cpufreq_driver_init(struct cpufreq_policy *policy)
 {
        int ret;
        struct cpufreq_frequency_table *freq;