summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2008-07-30 13:01:42 -0400
committerDave Jones <davej@redhat.com>2008-08-08 16:00:48 -0400
commit460f5ef2835dbc33825f611f408eb09c29be4b85 (patch)
tree76cda8408e09c10cec7cd0ddb8de5d3c98f610b6
parentf068c04ba6f308774fdd2ed5e113da7cf4ff2f2b (diff)
downloadop-kernel-dev-460f5ef2835dbc33825f611f408eb09c29be4b85.zip
op-kernel-dev-460f5ef2835dbc33825f611f408eb09c29be4b85.tar.gz
[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.c2
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 94619c2..e4a4bf8 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},
OpenPOWER on IntegriCloud