cpufreq: exynos: fix section mismatch
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 19 Jul 2013 07:52:29 +0000 (16:52 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:43:39 +0000 (11:43 +0900)
Non init data, exynos_cpufreq_driver references init data,
exynos_cpufreq_probe and exynos_cpufreq_of_match, and this causes
section mismatch.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/cpufreq/exynos-cpufreq.c

index 3197d88..d748ada 100644 (file)
@@ -351,13 +351,13 @@ struct cpufreq_frequency_table *exynos_of_parse_freq_table(
 }
 
 #ifdef CONFIG_OF
-static struct of_device_id exynos_cpufreq_of_match[] __initconst = {
+static struct of_device_id exynos_cpufreq_of_match[] = {
        { .compatible = "samsung,exynos-cpufreq", },
        { },
 };
 #endif
 
-static int __init exynos_cpufreq_probe(struct platform_device *pdev)
+static int exynos_cpufreq_probe(struct platform_device *pdev)
 {
        int ret = -EINVAL;