summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2013-07-19 16:52:29 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:43:39 +0900
commitccd9fc42ccafc0513efcf7a92fa42a0a3760550d (patch)
treea60e64252244f9a50ffd733e3338c366321f8174 /drivers
parentec5a13f05cd501a82e139b38987e70bf8584ad3f (diff)
downloadlinux-3.10-ccd9fc42ccafc0513efcf7a92fa42a0a3760550d.tar.gz
linux-3.10-ccd9fc42ccafc0513efcf7a92fa42a0a3760550d.tar.bz2
linux-3.10-ccd9fc42ccafc0513efcf7a92fa42a0a3760550d.zip
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 <sw0312.kim@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cpufreq/exynos-cpufreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c
index 3197d8817d8..d748ada5f39 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;