]> git.baikalelectronics.ru Git - kernel.git/commit
[CPUFREQ] Fix section mismatch for longrun_cpu_init.
authorHolger Freyther <zecke@selfish.org>
Sun, 18 Jul 2010 19:28:49 +0000 (03:28 +0800)
committerDave Jones <davej@redhat.com>
Tue, 3 Aug 2010 17:47:06 +0000 (13:47 -0400)
commit98d9bfc452cf4d2afa1f7fff2cc8ae4428a0ed01
tree73d4bdba09289bdee44d14392a9cb23ec5f35e83
parentd0107e8bd28d65d50cb95e7924d7d96597b35357
[CPUFREQ] Fix section mismatch for longrun_cpu_init.

Use __cpuinit instead of __init for the cpufreq_driver
init function like it is done in powernow-k8.c.

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/longrun.c