Commit 4eab6251 authored by Daniel Walker's avatar Daniel Walker

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: default avatarDaniel Walker <dwalker@codeaurora.org>
parent 4783de9b
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment