Commit 68fc8736 authored by Christopher Hoover's avatar Christopher Hoover Committed by Russell King

[ARM PATCH] 1227/1: Fix declaration of cputfreq_get so that CONFIG_CPU_FREQ=n builds work.

parent 0028e1e2
...@@ -84,7 +84,7 @@ unsigned int sa11x0_getspeed(void) ...@@ -84,7 +84,7 @@ unsigned int sa11x0_getspeed(void)
/* /*
* We still need to provide this so building without cpufreq works. * We still need to provide this so building without cpufreq works.
*/ */
unsigned int cpufreq_get(int cpu) unsigned int cpufreq_get(unsigned int cpu)
{ {
return cclk_frequency_100khz[PPCR & 0xf] * 100; return cclk_frequency_100khz[PPCR & 0xf] * 100;
} }
......
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