sh: Revised clock function in highlander
authorNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Tue, 16 Jun 2009 07:44:10 +0000 (07:44 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 16 Jun 2009 07:49:11 +0000 (16:49 +0900)
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>
arch/sh/boards/mach-highlander/setup.c

index df054e5..dd297d8 100644 (file)
@@ -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)