File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -805,11 +805,10 @@ static int bcm2835_pll_divider_is_on(struct clk_hw *hw)
805
805
return !(cprman_read (cprman , data -> a2w_reg ) & A2W_PLL_CHANNEL_DISABLE );
806
806
}
807
807
808
- static long bcm2835_pll_divider_round_rate (struct clk_hw * hw ,
809
- unsigned long rate ,
810
- unsigned long * parent_rate )
808
+ static int bcm2835_pll_divider_determine_rate (struct clk_hw * hw ,
809
+ struct clk_rate_request * req )
811
810
{
812
- return clk_divider_ops .round_rate (hw , rate , parent_rate );
811
+ return clk_divider_ops .determine_rate (hw , req );
813
812
}
814
813
815
814
static unsigned long bcm2835_pll_divider_get_rate (struct clk_hw * hw ,
@@ -901,7 +900,7 @@ static const struct clk_ops bcm2835_pll_divider_clk_ops = {
901
900
.unprepare = bcm2835_pll_divider_off ,
902
901
.recalc_rate = bcm2835_pll_divider_get_rate ,
903
902
.set_rate = bcm2835_pll_divider_set_rate ,
904
- .round_rate = bcm2835_pll_divider_round_rate ,
903
+ .determine_rate = bcm2835_pll_divider_determine_rate ,
905
904
.debug_init = bcm2835_pll_divider_debug_init ,
906
905
};
907
906
You can’t perform that action at this time.
0 commit comments