summaryrefslogtreecommitdiff
path: root/sound/soc/atmel/atmel-pcm.c
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2012-12-08 17:23:22 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-24 19:48:25 +0400
commit153f5a18e4a88d8a3c2d1a19658a3ce34559b473 (patch)
tree94f371556f5e0410cead3b32304f1c65579bd82f /sound/soc/atmel/atmel-pcm.c
parentf4319ff2bd23a5183f25ec0b3f5f753060ae2e4d (diff)
downloadlinux-153f5a18e4a88d8a3c2d1a19658a3ce34559b473.tar.xz
ASoC: atmel-soc: make it buildable on other architectures
Not very useful on non AT91/AVR32 platforms but it provides more build coverage and prepares for ARM multiplatform. Also fixes a couple of format type warnings. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/atmel/atmel-pcm.c')
-rw-r--r--sound/soc/atmel/atmel-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/atmel/atmel-pcm.c b/sound/soc/atmel/atmel-pcm.c
index e99f1811300a..3109db7b9017 100644
--- a/sound/soc/atmel/atmel-pcm.c
+++ b/sound/soc/atmel/atmel-pcm.c
@@ -49,7 +49,7 @@ static int atmel_pcm_preallocate_dma_buffer(struct snd_pcm *pcm,
buf->private_data = NULL;
buf->area = dma_alloc_coherent(pcm->card->dev, size,
&buf->addr, GFP_KERNEL);
- pr_debug("atmel-pcm: alloc dma buffer: area=%p, addr=%p, size=%d\n",
+ pr_debug("atmel-pcm: alloc dma buffer: area=%p, addr=%p, size=%zu\n",
(void *)buf->area, (void *)buf->addr, size);
if (!buf->area)