]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[CPUFREQ] Fix warning in elanfreq
authorDave Jones <davej@redhat.com>
Wed, 30 Jul 2008 17:01:42 +0000 (13:01 -0400)
committerDave Jones <davej@redhat.com>
Fri, 8 Aug 2008 20:00:48 +0000 (16:00 -0400)
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>
arch/x86/kernel/cpu/cpufreq/elanfreq.c

index 94619c22f56326a555fa47114bf2df365634343a..e4a4bf870e9472e7b3da95ac0d6b9a620ff675b5 100644 (file)
@@ -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},