linux-next: build failure after merge of the sound-asoc tree

From: Stephen Rothwell
Date: Mon Jul 15 2013 - 23:18:50 EST


Hi all,

After merging the sound-asoc tree, today's linux-next build (x86_64
allmodconfig) failed like this:

sound/soc/tegra/tegra_alc5632.c:16:28: fatal error: asm/mach-types.h: No such file or directory
#include <asm/mach-types.h>
^

Caused by commit df7e4082f47d ("ASoC: tegra: Enable COMPILE_TEST
builds"). If you are going to do that, please test via (at least) an
x86_64 allmodconf build. Including asm/mach-types.h is an architecture
dependency.

sound/soc/omap/omap-pcm.c: In function 'omap_pcm_preallocate_dma_buffer':
sound/soc/omap/omap-pcm.c:171:2: error: implicit declaration of function 'dma_alloc_writecombine' [-Werror=implicit-function-declaration]
buf->area = dma_alloc_writecombine(pcm->card->dev, size,
^
sound/soc/omap/omap-pcm.c:171:12: warning: assignment makes pointer from integer without a cast [enabled by default]
buf->area = dma_alloc_writecombine(pcm->card->dev, size,
^
sound/soc/omap/omap-pcm.c: In function 'omap_pcm_free_dma_buffers':
sound/soc/omap/omap-pcm.c:195:3: error: implicit declaration of function 'dma_free_writecombine' [-Werror=implicit-function-declaration]
dma_free_writecombine(pcm->card->dev, buf->bytes,
^

Caused by commit 6109b2fca632 ("ASoC: omap: Enable COMPILE_TEST build for
DT platforms"). In this case, a missing include.

I have used the version of the sound-asoc tree from next-20130715 for
today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature