From: Holger Freyther Date: Sun, 18 Jul 2010 19:29:03 +0000 (+0800) Subject: [CPUFREQ] Fix section mismatch for longhaul_cpu_init. X-Git-Tag: v2.6.36-rc1~578^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2530573e45c5846cd238db78651f0d236fc78aab;p=pandora-kernel.git [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 Signed-off-by: Dave Jones --- Reading git-diff-tree failed