Skip to content

Commit 460f5ef

Browse files
author
Dave Jones
committed
[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>
1 parent f068c04 commit 460f5ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/cpu/cpufreq/elanfreq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct s_elan_multiplier {
4444
* It is important that the frequencies
4545
* are listed in ascending order here!
4646
*/
47-
struct s_elan_multiplier elan_multiplier[] = {
47+
static struct s_elan_multiplier elan_multiplier[] = {
4848
{1000, 0x02, 0x18},
4949
{2000, 0x02, 0x10},
5050
{4000, 0x02, 0x08},

0 commit comments

Comments
 (0)