]> git.baikalelectronics.ru Git - kernel.git/commit
[CPUFREQ] Fix section mismatch for powernow_cpu_init in powernow-k7.c
authorHolger Freyther <zecke@selfish.org>
Sun, 18 Jul 2010 19:29:16 +0000 (03:29 +0800)
committerDave Jones <davej@redhat.com>
Tue, 3 Aug 2010 17:47:06 +0000 (13:47 -0400)
commit06c2f67ef78cacce8016f26fabb4855d1d7e83c7
tree07c426d450cc188023cddf2fee40221a64521091
parentacfe75a418b7e9f86f9a6b837921b2174aa818c7
[CPUFREQ] Fix section mismatch for powernow_cpu_init in powernow-k7.c

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/powernow-k7.c