sh: Implement clk_round_rate() in the clock framework.
[safe/jmp/linux-2.6] / include / asm-sh / clock.h
index 386d797..b550a27 100644 (file)
@@ -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 {