summaryrefslogtreecommitdiff
path: root/include
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
parent39c7aa9ea9b6175f4313f69ef9f8e0a3a9bba5bb (diff)
downloadlinux-3.10-f6991b0456416186b578d38717efcda2b012b79c.tar.gz
linux-3.10-f6991b0456416186b578d38717efcda2b012b79c.tar.bz2
linux-3.10-f6991b0456416186b578d38717efcda2b012b79c.zip
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')
-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 386d797d86b..b550a27a704 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 {