浏览代码

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 16 年之前
父节点
当前提交
39f4490c70
共有 1 个文件被更改,包括 2 次插入1 次删除
  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
  */
-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)