diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2010-08-18 11:51:13 +0800 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-08-30 09:59:43 +0800 |
commit | 50e77fcd790e02a095f906df0f6fa72afef7e11c (patch) | |
tree | 0835333f3da5f88a641b6d86f18065272a76b635 /arch/arm/mach-pxa/cpufreq-pxa3xx.c | |
parent | 2bfc96a127bc1cc94d26bfaa40159966064f9c8c (diff) | |
download | lwn-50e77fcd790e02a095f906df0f6fa72afef7e11c.tar.gz lwn-50e77fcd790e02a095f906df0f6fa72afef7e11c.zip |
ARM: pxa: remove __init from cpufreq_driver->init()
This is causing section mismatches when linking, as cpufreq_driver->init()
is not supposed to be in init section.
Reported-by: Tomáš 'Sleep_Walker' Čech <sleep_walker@suse.cz>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/cpufreq-pxa3xx.c')
-rw-r--r-- | arch/arm/mach-pxa/cpufreq-pxa3xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/cpufreq-pxa3xx.c b/arch/arm/mach-pxa/cpufreq-pxa3xx.c index 27fa329d9a8b..0a0d0fe99220 100644 --- a/arch/arm/mach-pxa/cpufreq-pxa3xx.c +++ b/arch/arm/mach-pxa/cpufreq-pxa3xx.c @@ -204,7 +204,7 @@ static int pxa3xx_cpufreq_set(struct cpufreq_policy *policy, return 0; } -static __init int pxa3xx_cpufreq_init(struct cpufreq_policy *policy) +static int pxa3xx_cpufreq_init(struct cpufreq_policy *policy) { int ret = -EINVAL; |