Skip to content
Commit 2530573e authored by Holger Freyther's avatar Holger Freyther Committed by Dave Jones
Browse files

[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: default avatarHolger Hans Peter Freyther <holger@moiji-mobile.com>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 7e2d8112
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment