diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2015-05-15 20:11:36 -0400 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-05-17 19:12:33 -0400 |
commit | 76723e7ed589998384a080e29204df4659c67cf2 (patch) | |
tree | 0bb57cfe4464d59a116287d354c62e2f390a234e /drivers/clk | |
parent | 51f3eddd039a053a3ae578d85c46662fff625b54 (diff) | |
download | linux-stable-76723e7ed589998384a080e29204df4659c67cf2.tar.gz linux-stable-76723e7ed589998384a080e29204df4659c67cf2.tar.bz2 linux-stable-76723e7ed589998384a080e29204df4659c67cf2.zip |
clk: at91: usb: fix determine_rate prototype
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>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/at91/clk-usb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/clk/at91/clk-usb.c b/drivers/clk/at91/clk-usb.c index 0b7c3e8840ba..0283a5713d6c 100644 --- a/drivers/clk/at91/clk-usb.c +++ b/drivers/clk/at91/clk-usb.c @@ -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) { |