summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>2009-06-16 09:44:10 +0200
committerPaul Mundt <lethal@linux-sh.org>2009-06-16 09:49:11 +0200
commit39f4490c70eae62cfed62081243110607069d3f9 (patch)
tree9bff3957de804ef6792069415a041d29cc17e6cf /arch
parentsh: Update r7780mp defconfig (diff)
downloadlinux-39f4490c70eae62cfed62081243110607069d3f9.tar.xz
linux-39f4490c70eae62cfed62081243110607069d3f9.zip
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')
-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 df054e54bab3..dd297d87f934 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)