aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/alchemy/common/clock.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/alchemy/common/clock.c')
-rw-r--r--arch/mips/alchemy/common/clock.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/alchemy/common/clock.c b/arch/mips/alchemy/common/clock.c
index 48a9dfc55b51..604b7d009d8d 100644
--- a/arch/mips/alchemy/common/clock.c
+++ b/arch/mips/alchemy/common/clock.c
@@ -546,6 +546,8 @@ static unsigned long alchemy_clk_fgv1_recalc(struct clk_hw *hw,
546} 546}
547 547
548static long alchemy_clk_fgv1_detr(struct clk_hw *hw, unsigned long rate, 548static long alchemy_clk_fgv1_detr(struct clk_hw *hw, unsigned long rate,
549 unsigned long min_rate,
550 unsigned long max_rate,
549 unsigned long *best_parent_rate, 551 unsigned long *best_parent_rate,
550 struct clk_hw **best_parent_clk) 552 struct clk_hw **best_parent_clk)
551{ 553{
@@ -678,6 +680,8 @@ static unsigned long alchemy_clk_fgv2_recalc(struct clk_hw *hw,
678} 680}
679 681
680static long alchemy_clk_fgv2_detr(struct clk_hw *hw, unsigned long rate, 682static long alchemy_clk_fgv2_detr(struct clk_hw *hw, unsigned long rate,
683 unsigned long min_rate,
684 unsigned long max_rate,
681 unsigned long *best_parent_rate, 685 unsigned long *best_parent_rate,
682 struct clk_hw **best_parent_clk) 686 struct clk_hw **best_parent_clk)
683{ 687{
@@ -897,6 +901,8 @@ static int alchemy_clk_csrc_setr(struct clk_hw *hw, unsigned long rate,
897} 901}
898 902
899static long alchemy_clk_csrc_detr(struct clk_hw *hw, unsigned long rate, 903static long alchemy_clk_csrc_detr(struct clk_hw *hw, unsigned long rate,
904 unsigned long min_rate,
905 unsigned long max_rate,
900 unsigned long *best_parent_rate, 906 unsigned long *best_parent_rate,
901 struct clk_hw **best_parent_clk) 907 struct clk_hw **best_parent_clk)
902{ 908{