commit | 2aab7a2055a1705c9e30920d95a596226999eb21 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Mon Dec 12 09:00:53 2016 +0100 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Mon Dec 12 11:25:40 2016 -0800 |
tree | aae12de2dcbbd9d95e37c2d0bf566d67af6abac9 | |
parent | 71a2f11511b4d1dc8b8e326e10ec6533b534ddf1 [diff] |
clk: bcm: Fix 'maybe-uninitialized' warning in bcm2835_clock_choose_div_and_prate() best_rate is reported as potentially uninitialized by gcc. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Fixes: 155e8b3b0ee3 ("clk: bcm: Support rate change propagation on bcm2835 clocks") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>