ASoC: Fix a compile warning for printk format

sound/soc/codecs/wm8985.c: In function 'wm8985_hw_params':
  sound/soc/codecs/wm8985.c:731:2: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'

Actually the variable is fine as int.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2010-09-27 08:13:25 +02:00
parent 35e60448b9
commit cf1ff50116
1 changed files with 1 additions and 1 deletions

View File

@ -644,7 +644,7 @@ static int wm8985_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params, struct snd_pcm_hw_params *params,
struct snd_soc_dai *dai) struct snd_soc_dai *dai)
{ {
size_t i; int i;
struct snd_soc_codec *codec; struct snd_soc_codec *codec;
struct wm8985_priv *wm8985; struct wm8985_priv *wm8985;
u16 blen, srate_idx; u16 blen, srate_idx;