Subject: [PATCH -next] sound/soc: fix printk format warning

From: Randy Dunlap <[email-masked]>
Date: Tue, 28 Sep 2010 09:58:46 -0700

From: Randy Dunlap <[email-masked]>

Fix dev_printk format warning:

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

Signed-off-by: Randy Dunlap <[email-masked]>
---
 sound/soc/codecs/wm8985.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20100927.orig/sound/soc/codecs/wm8985.c
+++ linux-next-20100927/sound/soc/codecs/wm8985.c
@@ -728,7 +728,7 @@ static int wm8985_hw_params(struct snd_p
 		return -EINVAL;
 	}
 
-	dev_dbg(dai->dev, "BCLK div = %d\n", i);
+	dev_dbg(dai->dev, "BCLK div = %zd\n", i);
 	snd_soc_update_bits(codec, WM8985_CLOCK_GEN_CONTROL,
 			    WM8985_BCLKDIV_MASK, i << WM8985_BCLKDIV_SHIFT);
 	return 0;