From: Seung-Woo Kim Date: Fri, 19 Jul 2013 07:52:29 +0000 (+0900) Subject: cpufreq: exynos: fix section mismatch X-Git-Tag: submit/tizen/20141121.110247~3438 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ccd9fc42ccafc0513efcf7a92fa42a0a3760550d;p=platform%2Fkernel%2Flinux-3.10.git cpufreq: exynos: fix section mismatch 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 --- diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c index 3197d88..d748ada 100644 --- a/drivers/cpufreq/exynos-cpufreq.c +++ b/drivers/cpufreq/exynos-cpufreq.c @@ -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;