Merge branch 'for-linus' of git://gitorious.org/linux-omap-dss2/linux
[safe/jmp/linux-2.6] / arch / arm / mach-lh7a40x / clocks.c
index 6182f54..0651f96 100644 (file)
@@ -7,11 +7,11 @@
  *  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>
+#include <linux/device.h>
+#include <linux/string.h>
 
 struct module;
 
@@ -31,12 +31,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;