From: Dave Jones Date: Wed, 30 Jul 2008 17:01:42 +0000 (-0400) Subject: [CPUFREQ] Fix warning in elanfreq X-Git-Tag: v2.6.27-rc3~64^2~3 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=460f5ef2835dbc33825f611f408eb09c29be4b85;p=linux-2.6-omap-h63xx.git [CPUFREQ] Fix warning in elanfreq arch/x86/kernel/cpu/cpufreq/elanfreq.c:47:26: warning: symbol 'elan_multiplier' was not declared. Should it be static? Yes, yes it should. Signed-off-by: Dave Jones --- diff --git a/arch/x86/kernel/cpu/cpufreq/elanfreq.c b/arch/x86/kernel/cpu/cpufreq/elanfreq.c index 94619c22f56..e4a4bf870e9 100644 --- a/arch/x86/kernel/cpu/cpufreq/elanfreq.c +++ b/arch/x86/kernel/cpu/cpufreq/elanfreq.c @@ -44,7 +44,7 @@ struct s_elan_multiplier { * It is important that the frequencies * are listed in ascending order here! */ -struct s_elan_multiplier elan_multiplier[] = { +static struct s_elan_multiplier elan_multiplier[] = { {1000, 0x02, 0x18}, {2000, 0x02, 0x10}, {4000, 0x02, 0x08},