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>
}
#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;