summaryrefslogtreecommitdiffstats
path: root/drivers/sh
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-02-18 21:55:03 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-02-19 06:36:53 +0100
commit61882b63171736571e1139ab5aa929e3bb336016 (patch)
tree024b10fb3f9e4ac77af9fcc39ad31930e74f3147 /drivers/sh
parentd4d4eda23794c701442e55129dd4f8f2fefd5e4d (diff)
downloadop-kernel-dev-61882b63171736571e1139ab5aa929e3bb336016.zip
op-kernel-dev-61882b63171736571e1139ab5aa929e3bb336016.tar.gz
cpufreq: s3c: remove incorrect __init annotations
The two functions s3c2416_cpufreq_driver_init and s3c_cpufreq_register are marked init but are called from a context that might be run after the __init sections are discarded, as the compiler points out: WARNING: vmlinux.o(.data+0x1ad9dc): Section mismatch in reference from the variable s3c2416_cpufreq_driver to the function .init.text:s3c2416_cpufreq_driver_init() WARNING: drivers/built-in.o(.text+0x35b5dc): Section mismatch in reference from the function s3c2410a_cpufreq_add() to the function .init.text:s3c_cpufreq_register() This removes the __init markings. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Cc: All applicable <stable@vger.kernel.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud