summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-lh7a40x
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2009-12-12 16:27:25 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-12-13 19:39:20 +0000
commit9074e144c10cba5d6bb6b326a8be5347d38e4473 (patch)
tree0838e4c14a0b69ed44838436c40ab1d5592f34c4 /arch/arm/mach-lh7a40x
parent1937f5b91833e2e8e53bcc821fc7a5fbe6ccb9b5 (diff)
downloadop-kernel-dev-9074e144c10cba5d6bb6b326a8be5347d38e4473.zip
op-kernel-dev-9074e144c10cba5d6bb6b326a8be5347d38e4473.tar.gz
ARM: fix lh7a40x build
No idea if this platform actually uses cpufreq_get(), but it doesn't have any cpufreq drivers. That's not to say it doesn't use cpufreq_get() in its drivers. LH7a40x is unmaintained anyhow, and should probably be killed off. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-lh7a40x')
-rw-r--r--arch/arm/mach-lh7a40x/clocks.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-lh7a40x/clocks.c b/arch/arm/mach-lh7a40x/clocks.c
index 6182f54..fcaf876 100644
--- a/arch/arm/mach-lh7a40x/clocks.c
+++ b/arch/arm/mach-lh7a40x/clocks.c
@@ -7,8 +7,6 @@
* version 2 as published by the Free Software Foundation.
*
*/
-
-#include <linux/cpufreq.h>
#include <mach/hardware.h>
#include <mach/clocks.h>
#include <linux/err.h>
@@ -31,12 +29,6 @@ struct clk {
#define HCLKDIV(c) (((c) >> 0) & 0x02)
#define PCLKDIV(c) (((c) >> 16) & 0x03)
-unsigned int cpufreq_get (unsigned int cpu) /* in kHz */
-{
- return fclkfreq_get ()/1000;
-}
-EXPORT_SYMBOL(cpufreq_get);
-
unsigned int fclkfreq_get (void)
{
unsigned int clkset = CSC_CLKSET;
OpenPOWER on IntegriCloud