projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e819eb8
)
sh: Fix up SH4-202 clkfwk build.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 24 Dec 2010 02:27:29 +0000
(11:27 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 24 Dec 2010 02:27:29 +0000
(11:27 +0900)
Some of the SH4-202 code was overlooked in the set_rate() API conversion,
resulting in:
arch/sh/kernel/cpu/sh4/clock-sh4-202.c: error: too many arguments to function 'clk->ops->set_rate'
Fix it up.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4/clock-sh4-202.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/kernel/cpu/sh4/clock-sh4-202.c
b/arch/sh/kernel/cpu/sh4/clock-sh4-202.c
index b601fa3978d1995f53ea466e6aed5145e6ef1f75..6282a839e08e7831c40403c8a8c576ab97242df4 100644
(file)
--- a/
arch/sh/kernel/cpu/sh4/clock-sh4-202.c
+++ b/
arch/sh/kernel/cpu/sh4/clock-sh4-202.c
@@
-81,8
+81,7
@@
static void shoc_clk_init(struct clk *clk)
for (i = 0; i < ARRAY_SIZE(frqcr3_divisors); i++) {
int divisor = frqcr3_divisors[i];
- if (clk->ops->set_rate(clk, clk->parent->rate /
- divisor, 0) == 0)
+ if (clk->ops->set_rate(clk, clk->parent->rate / divisor) == 0)
break;
}