[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>
parent
7e2d8112
Please register or sign in to comment