diff options
author | Dave Jones <davej@redhat.com> | 2007-02-22 19:11:16 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2007-02-22 19:11:16 -0500 |
commit | bd5ab26a7d0cc834d846fe5dd7291f0aed3be72b (patch) | |
tree | 176ba366745c455a3907fd662dc9bddf15078fac /arch/i386/kernel/cpu/cpufreq/powernow-k7.c | |
parent | aeeddc1435c37fa3fc844f31d39c185b08de4158 (diff) |
[CPUFREQ] constify some data tables.
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/i386/kernel/cpu/cpufreq/powernow-k7.c')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/powernow-k7.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k7.c b/arch/i386/kernel/cpu/cpufreq/powernow-k7.c index e8eb489501e..d98529c93a1 100644 --- a/arch/i386/kernel/cpu/cpufreq/powernow-k7.c +++ b/arch/i386/kernel/cpu/cpufreq/powernow-k7.c | |||
@@ -68,7 +68,7 @@ union powernow_acpi_control_t { | |||
68 | 68 | ||
69 | #ifdef CONFIG_CPU_FREQ_DEBUG | 69 | #ifdef CONFIG_CPU_FREQ_DEBUG |
70 | /* divide by 1000 to get VCore voltage in V. */ | 70 | /* divide by 1000 to get VCore voltage in V. */ |
71 | static int mobile_vid_table[32] = { | 71 | static const int mobile_vid_table[32] = { |
72 | 2000, 1950, 1900, 1850, 1800, 1750, 1700, 1650, | 72 | 2000, 1950, 1900, 1850, 1800, 1750, 1700, 1650, |
73 | 1600, 1550, 1500, 1450, 1400, 1350, 1300, 0, | 73 | 1600, 1550, 1500, 1450, 1400, 1350, 1300, 0, |
74 | 1275, 1250, 1225, 1200, 1175, 1150, 1125, 1100, | 74 | 1275, 1250, 1225, 1200, 1175, 1150, 1125, 1100, |
@@ -77,7 +77,7 @@ static int mobile_vid_table[32] = { | |||
77 | #endif | 77 | #endif |
78 | 78 | ||
79 | /* divide by 10 to get FID. */ | 79 | /* divide by 10 to get FID. */ |
80 | static int fid_codes[32] = { | 80 | static const int fid_codes[32] = { |
81 | 110, 115, 120, 125, 50, 55, 60, 65, | 81 | 110, 115, 120, 125, 50, 55, 60, 65, |
82 | 70, 75, 80, 85, 90, 95, 100, 105, | 82 | 70, 75, 80, 85, 90, 95, 100, 105, |
83 | 30, 190, 40, 200, 130, 135, 140, 210, | 83 | 30, 190, 40, 200, 130, 135, 140, 210, |