[CPUFREQ] Fix section mismatch for longhaul_cpu_init.
authorHolger Freyther <zecke@selfish.org>
Sun, 18 Jul 2010 19:29:03 +0000 (03:29 +0800)
committerDave Jones <davej@redhat.com>
Tue, 3 Aug 2010 17:47:06 +0000 (13:47 -0400)
commit2530573e45c5846cd238db78651f0d236fc78aab
tree2173521f0978b4c684a711e33c40272c24f98721
parent7e2d81122052c83feeddbebf706b6d53fba7996d
[CPUFREQ] Fix section mismatch for longhaul_cpu_init.

Use __cpuinit instead of __init for the cpufreq_driver
init function like it is done in powernow-k8.c. Use the
__cpuinitdata for data used by the routines marked as __cpuinit.

This is removing the warning generated when compiling with
the CONFIG_DEBUG_SECTION_MISMATCH=y option.

Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/x86/kernel/cpu/cpufreq/longhaul.c
arch/x86/kernel/cpu/cpufreq/longhaul.h