git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4783de9
)
arm: msm: warning fix in acpuclock.c
author
Daniel Walker
<dwalker@codeaurora.org>
Thu, 4 Mar 2010 22:06:56 +0000
(14:06 -0800)
committer
Daniel Walker
<dwalker@codeaurora.org>
Wed, 12 May 2010 16:14:38 +0000
(09:14 -0700)
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>
arch/arm/mach-msm/acpuclock-arm11.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-msm/acpuclock-arm11.c
b/arch/arm/mach-msm/acpuclock-arm11.c
index
f9c9035
..
af5e85b
100644
(file)
--- 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[] = {
};
#endif
+
+#ifdef CONFIG_CPU_FREQ_TABLE
static struct cpufreq_frequency_table freq_table[] = {
{ 0, 122880 },
{ 1, 128000 },
@@
-143,6
+145,7
@@
static struct cpufreq_frequency_table freq_table[] = {
{ 4, 528000 },
{ 5, CPUFREQ_TABLE_END },
};
+#endif
static int pc_pll_request(unsigned id, unsigned on)
{