diff options
author | Daniel Walker <dwalker@codeaurora.org> | 2010-03-04 17:06:56 -0500 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-05-12 12:14:38 -0400 |
commit | 4eab62519f8f58aa5f72787877c459925399d617 (patch) | |
tree | 417a73f4b9162d1992ef66a9ec258caf9167088a | |
parent | 4783de9bba3dd607e6aa4d0a7dd598d9094c044c (diff) |
arm: msm: warning fix in acpuclock.c
Fixes the following warning,
arch/arm/mach-msm/acpuclock-arm11.c:138: warning: 'freq_table' defined but not used
when CONFIG_CPU_FREQ_TABLE is not enabled.
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
-rw-r--r-- | arch/arm/mach-msm/acpuclock-arm11.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/acpuclock-arm11.c b/arch/arm/mach-msm/acpuclock-arm11.c index f9c9035bd9bb..af5e85b91d02 100644 --- a/arch/arm/mach-msm/acpuclock-arm11.c +++ b/arch/arm/mach-msm/acpuclock-arm11.c | |||
@@ -135,6 +135,8 @@ static struct clkctl_acpu_speed acpu_freq_tbl[] = { | |||
135 | }; | 135 | }; |
136 | #endif | 136 | #endif |
137 | 137 | ||
138 | |||
139 | #ifdef CONFIG_CPU_FREQ_TABLE | ||
138 | static struct cpufreq_frequency_table freq_table[] = { | 140 | static struct cpufreq_frequency_table freq_table[] = { |
139 | { 0, 122880 }, | 141 | { 0, 122880 }, |
140 | { 1, 128000 }, | 142 | { 1, 128000 }, |
@@ -143,6 +145,7 @@ static struct cpufreq_frequency_table freq_table[] = { | |||
143 | { 4, 528000 }, | 145 | { 4, 528000 }, |
144 | { 5, CPUFREQ_TABLE_END }, | 146 | { 5, CPUFREQ_TABLE_END }, |
145 | }; | 147 | }; |
148 | #endif | ||
146 | 149 | ||
147 | static int pc_pll_request(unsigned id, unsigned on) | 150 | static int pc_pll_request(unsigned id, unsigned on) |
148 | { | 151 | { |