diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-12-01 13:59:35 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-12-01 14:00:20 -0500 |
commit | 0bc286e2ac72e483d2b5a6dac0dafb05e9f047c8 (patch) | |
tree | 1c1eec5e6638a1b2115325417fab70aa8db96e40 /sound/soc/codecs/wm8903.c | |
parent | 2caf6a1f9c8bcdc81ba580cfbf512d073c9444be (diff) |
Revert "ALSA: soc - Fix compile warnings in wm8903.c"
This reverts commit 9171e5e6a20a9cd4992ff9c7cbee13c6fdf7b0b1.
I can't reproduce the compile warnings any more. The warnings
might be some weird cross-compiling set up.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs/wm8903.c')
-rw-r--r-- | sound/soc/codecs/wm8903.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c index 78070b2cd480..efbe8927b7d2 100644 --- a/sound/soc/codecs/wm8903.c +++ b/sound/soc/codecs/wm8903.c | |||
@@ -379,8 +379,8 @@ static int wm8903_output_event(struct snd_soc_dapm_widget *w, | |||
379 | struct wm8903_priv *wm8903 = codec->private_data; | 379 | struct wm8903_priv *wm8903 = codec->private_data; |
380 | struct i2c_client *i2c = codec->control_data; | 380 | struct i2c_client *i2c = codec->control_data; |
381 | u16 val; | 381 | u16 val; |
382 | u16 uninitialized_var(reg); | 382 | u16 reg; |
383 | int uninitialized_var(shift); | 383 | int shift; |
384 | u16 cp_reg = wm8903_read(codec, WM8903_CHARGE_PUMP_0); | 384 | u16 cp_reg = wm8903_read(codec, WM8903_CHARGE_PUMP_0); |
385 | 385 | ||
386 | switch (w->reg) { | 386 | switch (w->reg) { |