|
@@ -280,20 +280,6 @@ int clk_set_rate_ex(struct clk *clk, unsigned long rate, int algo_id)
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(clk_set_rate_ex);
|
|
|
|
|
|
-void clk_recalc_rate(struct clk *clk)
|
|
|
-{
|
|
|
- unsigned long flags;
|
|
|
-
|
|
|
- if (!clk->ops->recalc)
|
|
|
- return;
|
|
|
-
|
|
|
- spin_lock_irqsave(&clock_lock, flags);
|
|
|
- clk->rate = clk->ops->recalc(clk);
|
|
|
- propagate_rate(clk);
|
|
|
- spin_unlock_irqrestore(&clock_lock, flags);
|
|
|
-}
|
|
|
-EXPORT_SYMBOL_GPL(clk_recalc_rate);
|
|
|
-
|
|
|
int clk_set_parent(struct clk *clk, struct clk *parent)
|
|
|
{
|
|
|
unsigned long flags;
|