Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cpufreq: s5pv210: Remove spurious __init annotation

Since this is a platform driver and can be probed at any time we can't
annotate funtions in the probe path as __init, the code can't safely be
discarded at the end of kernel init.

Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Mark Brown and committed by
Rafael J. Wysocki
dc268742 16405f98

+1 -1
+1 -1
drivers/cpufreq/s5pv210-cpufreq.c
··· 501 501 return val >> 8; 502 502 } 503 503 504 - static int __init s5pv210_cpu_init(struct cpufreq_policy *policy) 504 + static int s5pv210_cpu_init(struct cpufreq_policy *policy) 505 505 { 506 506 unsigned long mem_type; 507 507 int ret;