diff options
author | Dave Jones <davej@redhat.com> | 2008-07-30 19:01:42 +0200 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2008-08-08 22:00:48 +0200 |
commit | 460f5ef2835dbc33825f611f408eb09c29be4b85 (patch) | |
tree | 76cda8408e09c10cec7cd0ddb8de5d3c98f610b6 | |
parent | [CPUFREQ] Fix -Wshadow warning in conservative governor. (diff) | |
download | linux-460f5ef2835dbc33825f611f408eb09c29be4b85.tar.xz linux-460f5ef2835dbc33825f611f408eb09c29be4b85.zip |
[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 <davej@redhat.com>
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/elanfreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/cpufreq/elanfreq.c b/arch/x86/kernel/cpu/cpufreq/elanfreq.c index 94619c22f563..e4a4bf870e94 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}, |