sh: Fix SH4-202 clock fwk set_rate() mismatch.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 4 Jun 2007 01:51:59 +0000 (10:51 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 4 Jun 2007 01:51:59 +0000 (10:51 +0900)
With the SH7722 changes, ->set_rate() also takes an algo_id,
SH4-202 was overlooked when this change went in.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4/clock-sh4-202.c

index fcb2c41bc34e766c9a6650abdde04e6904846230..a33429463e96cd0c758b9f05f631a5d610025d6e 100644 (file)
@@ -111,7 +111,7 @@ static int shoc_clk_verify_rate(struct clk *clk, unsigned long rate)
        return 0;
 }
 
-static int shoc_clk_set_rate(struct clk *clk, unsigned long rate)
+static int shoc_clk_set_rate(struct clk *clk, unsigned long rate, int algo_id)
 {
        unsigned long frqcr3;
        unsigned int tmp;