OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b19a7c
)
sh: Fix SH4-202 clock fwk set_rate() mismatch.
author
Paul Mundt
<lethal@linux-sh.org>
Mon, 4 Jun 2007 01:51:59 +0000
(10:51 +0900)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/cpu/sh4/clock-sh4-202.c
b/arch/sh/kernel/cpu/sh4/clock-sh4-202.c
index
fcb2c41
..
a334294
100644
(file)
--- a/
arch/sh/kernel/cpu/sh4/clock-sh4-202.c
+++ b/
arch/sh/kernel/cpu/sh4/clock-sh4-202.c
@@
-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;