mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
ARM: S3C64XX: Fix section mismatch from cpufreq init
The cpufreq init function is referenced from the driver structure and we don't appear to have annotations which allow us to mark that it'll never be called after system init, causing the linker consistency infrastructure to complain. Just remove the __init annotation to avoid noise from the build. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
This commit is contained in:
parent
be4c33be53
commit
6d0de1577e
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ static void __init s3c64xx_cpufreq_config_regulator(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
static int __init s3c64xx_cpufreq_driver_init(struct cpufreq_policy *policy)
|
||||
static int s3c64xx_cpufreq_driver_init(struct cpufreq_policy *policy)
|
||||
{
|
||||
int ret;
|
||||
struct cpufreq_frequency_table *freq;
|
||||
|
|
Loading…
Reference in a new issue