Skip to content

Commit

Permalink
arm: msm: warning fix in acpuclock.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Walker committed May 12, 2010
1 parent 4783de9 commit 4eab625
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/mach-msm/acpuclock-arm11.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand All @@ -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)
{
Expand Down

0 comments on commit 4eab625

Please sign in to comment.