]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clk: SPEAr: Vco-pll: Fix compilation warning
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Oct 2012 09:49:08 +0000 (15:19 +0530)
committerMike Turquette <mturquette@linaro.org>
Mon, 29 Oct 2012 17:33:45 +0000 (10:33 -0700)
commit7d2943087b479cfbbb2d555c58f74ba06f4417f7
tree573e33ce366b879451083c4067f40763ea0b6f6b
parent8f0d8163b50e01f398b14bcd4dc039ac5ab18d64
clk: SPEAr: Vco-pll: Fix compilation warning

Currently we are getting following warning for SPEAr clk-vco-pll.

"warning: i is used uninitialized in this function."

This is because we are getting value of i by passing its pointer to another
routine.

The variables here are really not used uninitialized.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/spear/clk-vco-pll.c