diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-12-16 10:06:15 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-12-21 02:54:18 +0100 |
commit | adec57c61c2421d9d06c1fa8dd1ff7ed4fd2ca1b (patch) | |
tree | 888be8d7641ee94acda044ed238d8da639fda492 /drivers/cpufreq/intel_pstate.c | |
parent | 2a8fa123d9a1d2ca391eefc81fea747108a5081f (diff) |
cpufreq: s3c64xx: remove incorrect __init annotation
s3c64xx_cpufreq_config_regulator is incorrectly annotated
as __init, since the caller is also not init:
WARNING: vmlinux.o(.text+0x92fe1c): Section mismatch in reference from the function s3c64xx_cpufreq_driver_init() to the function .init.text:s3c64xx_cpufreq_config_regulator()
With modern gcc versions, the function gets inline, so we don't
see the warning, this only happens with gcc-4.6 and older.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/intel_pstate.c')
0 files changed, 0 insertions, 0 deletions