aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/spear/clk-vco-pll.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/spear/clk-vco-pll.c')
-rw-r--r--drivers/clk/spear/clk-vco-pll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/spear/clk-vco-pll.c b/drivers/clk/spear/clk-vco-pll.c
index c08dec30bfa6..fed194169666 100644
--- a/drivers/clk/spear/clk-vco-pll.c
+++ b/drivers/clk/spear/clk-vco-pll.c
@@ -147,7 +147,7 @@ static int clk_pll_set_rate(struct clk_hw *hw, unsigned long drate,
struct clk_pll *pll = to_clk_pll(hw);
struct pll_rate_tbl *rtbl = pll->vco->rtbl;
unsigned long flags = 0, val;
- int uninitialized_var(i);
+ int i = 0;
clk_pll_round_rate_index(hw, drate, NULL, &i);