summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/clock-sh7367.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shmobile/clock-sh7367.c')
-rw-r--r--arch/arm/mach-shmobile/clock-sh7367.c36
1 files changed, 1 insertions, 35 deletions
diff --git a/arch/arm/mach-shmobile/clock-sh7367.c b/arch/arm/mach-shmobile/clock-sh7367.c
index bb940c6..f3ede52 100644
--- a/arch/arm/mach-shmobile/clock-sh7367.c
+++ b/arch/arm/mach-shmobile/clock-sh7367.c
@@ -21,43 +21,9 @@
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/clk.h>
-
-struct clk {
- const char *name;
- unsigned long rate;
-};
-
+#include <linux/sh_clk.h>
#include <asm/clkdev.h>
-int __clk_get(struct clk *clk)
-{
- return 1;
-}
-EXPORT_SYMBOL(__clk_get);
-
-void __clk_put(struct clk *clk)
-{
-}
-EXPORT_SYMBOL(__clk_put);
-
-
-int clk_enable(struct clk *clk)
-{
- return 0;
-}
-EXPORT_SYMBOL(clk_enable);
-
-void clk_disable(struct clk *clk)
-{
-}
-EXPORT_SYMBOL(clk_disable);
-
-unsigned long clk_get_rate(struct clk *clk)
-{
- return clk ? clk->rate : 0;
-}
-EXPORT_SYMBOL(clk_get_rate);
-
/* a static peripheral clock for now - enough to get sh-sci working */
static struct clk peripheral_clk = {
.name = "peripheral_clk",