clk: at91: usb: fix determine_rate prototype
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Sat, 16 May 2015 00:11:36 +0000 (20:11 -0400)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 17 May 2015 23:12:33 +0000 (19:12 -0400)
Commit c67881fc890916206e723329e774391c6ed354ce is a backport of
0b67c43ce36a9964f1d5e3f973ee19eefd3f9f8f upstream commit, fixing a
bug on clk rate change propagation.
But in 4.0 ->determine_rate() prototype has changed, thus introducing
a prototype mismatch when applying it on 3.19.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/clk/at91/clk-usb.c

index 0b7c3e8840bae0ebf2c97cf276e44e8ab7116f6e..0283a5713d6c2e7804caf3b576c6397db8a0e771 100644 (file)
@@ -58,8 +58,6 @@ static unsigned long at91sam9x5_clk_usb_recalc_rate(struct clk_hw *hw,
 
 static long at91sam9x5_clk_usb_determine_rate(struct clk_hw *hw,
                                              unsigned long rate,
-                                             unsigned long min_rate,
-                                             unsigned long max_rate,
                                              unsigned long *best_parent_rate,
                                              struct clk_hw **best_parent_hw)
 {