quiet the warning about use of uninitialized fll_div in wm8900_set_fll. fll_div is initialized by fll_factors()
Signed-off-by: Bill Pemberton wfp5p@virginia.edu --- sound/soc/codecs/wm8900.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c index 5da17a7..f1840c6 100644 --- a/sound/soc/codecs/wm8900.c +++ b/sound/soc/codecs/wm8900.c @@ -746,7 +746,7 @@ static int wm8900_set_fll(struct snd_soc_codec *codec, int fll_id, unsigned int freq_in, unsigned int freq_out) { struct wm8900_priv *wm8900 = snd_soc_codec_get_drvdata(codec); - struct _fll_div fll_div; + struct _fll_div uninitialized_var(fll_div); unsigned int reg;
if (wm8900->fll_in == freq_in && wm8900->fll_out == freq_out)