Explorar o código

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>
Nobuhiro Iwamatsu %!s(int64=16) %!d(string=hai) anos
pai
achega
39f4490c70
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      arch/sh/boards/mach-highlander/setup.c

+ 2 - 1
arch/sh/boards/mach-highlander/setup.c

@@ -296,9 +296,10 @@ device_initcall(r7780rp_devices_setup);
 /*
 /*
  * Platform specific clocks
  * 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);
 	ctrl_outw(ctrl_inw(PA_IVDRCTL) | (1 << IVDR_CK_ON), PA_IVDRCTL);
+	return 0;
 }
 }
 
 
 static void ivdr_clk_disable(struct clk *clk)
 static void ivdr_clk_disable(struct clk *clk)