projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f068c04
)
[CPUFREQ] Fix warning in elanfreq
author
Dave Jones
<davej@redhat.com>
Wed, 30 Jul 2008 17:01:42 +0000
(13:01 -0400)
committer
Dave 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
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/cpufreq/elanfreq.c
b/arch/x86/kernel/cpu/cpufreq/elanfreq.c
index 94619c22f56326a555fa47114bf2df365634343a..e4a4bf870e9472e7b3da95ac0d6b9a620ff675b5 100644
(file)
--- 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[] = {
+st
atic st
ruct s_elan_multiplier elan_multiplier[] = {
{1000, 0x02, 0x18},
{2000, 0x02, 0x10},
{4000, 0x02, 0x08},