diff options
| -rw-r--r-- | arch/arm/mach-lh7a40x/clocks.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-lh7a40x/clocks.c b/arch/arm/mach-lh7a40x/clocks.c index 6182f5410b4d..fcaf876f19b6 100644 --- a/arch/arm/mach-lh7a40x/clocks.c +++ b/arch/arm/mach-lh7a40x/clocks.c | |||
| @@ -7,8 +7,6 @@ | |||
| 7 | * version 2 as published by the Free Software Foundation. | 7 | * version 2 as published by the Free Software Foundation. |
| 8 | * | 8 | * |
| 9 | */ | 9 | */ |
| 10 | |||
| 11 | #include <linux/cpufreq.h> | ||
| 12 | #include <mach/hardware.h> | 10 | #include <mach/hardware.h> |
| 13 | #include <mach/clocks.h> | 11 | #include <mach/clocks.h> |
| 14 | #include <linux/err.h> | 12 | #include <linux/err.h> |
| @@ -31,12 +29,6 @@ struct clk { | |||
| 31 | #define HCLKDIV(c) (((c) >> 0) & 0x02) | 29 | #define HCLKDIV(c) (((c) >> 0) & 0x02) |
| 32 | #define PCLKDIV(c) (((c) >> 16) & 0x03) | 30 | #define PCLKDIV(c) (((c) >> 16) & 0x03) |
| 33 | 31 | ||
| 34 | unsigned int cpufreq_get (unsigned int cpu) /* in kHz */ | ||
| 35 | { | ||
| 36 | return fclkfreq_get ()/1000; | ||
| 37 | } | ||
| 38 | EXPORT_SYMBOL(cpufreq_get); | ||
| 39 | |||
| 40 | unsigned int fclkfreq_get (void) | 32 | unsigned int fclkfreq_get (void) |
| 41 | { | 33 | { |
| 42 | unsigned int clkset = CSC_CLKSET; | 34 | unsigned int clkset = CSC_CLKSET; |
