summaryrefslogtreecommitdiffstats
path: root/include/asm-sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-07-20 13:29:09 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-07-20 13:29:09 +0900
commitf6991b0456416186b578d38717efcda2b012b79c (patch)
tree6adebd4c26abed39fe5b4db65dc3398cd09b9236 /include/asm-sh
parent39c7aa9ea9b6175f4313f69ef9f8e0a3a9bba5bb (diff)
downloadop-kernel-dev-f6991b0456416186b578d38717efcda2b012b79c.zip
op-kernel-dev-f6991b0456416186b578d38717efcda2b012b79c.tar.gz
sh: Implement clk_round_rate() in the clock framework.
This is an optional component of the clock framework. However, as we're going to be using this in the cpufreq drivers, add support for it to the framework. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh')
-rw-r--r--include/asm-sh/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-sh/clock.h b/include/asm-sh/clock.h
index 386d797..b550a27 100644
--- a/include/asm-sh/clock.h
+++ b/include/asm-sh/clock.h
@@ -14,6 +14,7 @@ struct clk_ops {
void (*disable)(struct clk *clk);
void (*recalc)(struct clk *clk);
int (*set_rate)(struct clk *clk, unsigned long rate, int algo_id);
+ long (*round_rate)(struct clk *clk, unsigned long rate);
};
struct clk {
OpenPOWER on IntegriCloud