diff options
author | Paul Mundt | 2007-07-20 13:29:09 +0900 |
---|---|---|
committer | Paul Mundt | 2007-07-20 13:29:09 +0900 |
commit | f6991b0456416186b578d38717efcda2b012b79c (patch) | |
tree | 6adebd4c26abed39fe5b4db65dc3398cd09b9236 /include/asm-sh | |
parent | 39c7aa9ea9b6175f4313f69ef9f8e0a3a9bba5bb (diff) |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-sh/clock.h b/include/asm-sh/clock.h index 386d797d86b7..b550a27a7042 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 { |