Commit 39f4490c authored by Nobuhiro Iwamatsu's avatar Nobuhiro Iwamatsu Committed by Paul Mundt

sh: Revised clock function in highlander

Clock function was changed, but highlander used old function.
Signed-off-by: default avatarNobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 02a146df
...@@ -296,9 +296,10 @@ device_initcall(r7780rp_devices_setup); ...@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment