summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-11-15 18:18:32 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-11-15 18:25:17 +0900
commit35a96c739fd7624b8edff990a74b86b5a85342da (patch)
tree8839201d5b6aeff69150e19194a4da0c3c7faa77 /arch/sh/kernel
parent9a1683d1dd14d6ed35d2884c6b79ff12fc6bef39 (diff)
downloadlinux-stable-35a96c739fd7624b8edff990a74b86b5a85342da.tar.gz
linux-stable-35a96c739fd7624b8edff990a74b86b5a85342da.tar.bz2
linux-stable-35a96c739fd7624b8edff990a74b86b5a85342da.zip
sh: clkfwk: Kill off now unused algo_id in set_rate op.
Now that clk_set_rate_ex() is gone, there is also no way to get at rate setting algo id, which is now also completely unused. Kill it off before new clock ops start using it. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r--arch/sh/kernel/cpu/sh4/clock-sh4-202.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh4/clock-sh4-202.c b/arch/sh/kernel/cpu/sh4/clock-sh4-202.c
index 4eabc68cd753..b601fa3978d1 100644
--- a/arch/sh/kernel/cpu/sh4/clock-sh4-202.c
+++ b/arch/sh/kernel/cpu/sh4/clock-sh4-202.c
@@ -110,7 +110,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, int algo_id)
+static int shoc_clk_set_rate(struct clk *clk, unsigned long rate)
{
unsigned long frqcr3;
unsigned int tmp;