aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/boards/mach-highlander
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>2009-06-16 07:44:10 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-06-16 16:49:11 +0900
commit39f4490c70eae62cfed62081243110607069d3f9 (patch)
tree9bff3957de804ef6792069415a041d29cc17e6cf /arch/sh/boards/mach-highlander
parent02a146dffa471fec4c095c3810645df26ac86d5d (diff)
sh: Revised clock function in highlander
Clock function was changed, but highlander used old function. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/mach-highlander')
-rw-r--r--arch/sh/boards/mach-highlander/setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/boards/mach-highlander/setup.c b/arch/sh/boards/mach-highlander/setup.c
index df054e54bab..dd297d87f93 100644
--- a/arch/sh/boards/mach-highlander/setup.c
+++ b/arch/sh/boards/mach-highlander/setup.c
@@ -296,9 +296,10 @@ device_initcall(r7780rp_devices_setup);
/*
* Platform specific clocks
*/
-static void ivdr_clk_enable(struct clk *clk)
+static int ivdr_clk_enable(struct clk *clk)
{
ctrl_outw(ctrl_inw(PA_IVDRCTL) | (1 << IVDR_CK_ON), PA_IVDRCTL);
+ return 0;
}
static void ivdr_clk_disable(struct clk *clk)