diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-07-09 21:31:02 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-07-10 16:04:08 +0200 |
commit | abe594c2cf55b46d4feb61c01fe9063afff2e50c (patch) | |
tree | f59bd67757fa4cf6f9099cd340609fc8768ca5f0 /sound/aoa | |
parent | 20e2b791796bd68816fa115f12be5320de2b8021 (diff) | |
download | linux-abe594c2cf55b46d4feb61c01fe9063afff2e50c.tar.gz linux-abe594c2cf55b46d4feb61c01fe9063afff2e50c.tar.bz2 linux-abe594c2cf55b46d4feb61c01fe9063afff2e50c.zip |
ALSA: pcm: Protect call to dma_mmap_coherent() by check for HAS_DMA
If NO_DMA=y:
sound/core/pcm_native.o: In function `snd_pcm_lib_default_mmap':
pcm_native.c:(.text+0x144c): undefined reference to `bad_dma_ops'
pcm_native.c:(.text+0x1474): undefined reference to `dma_common_mmap'
Add a check for HAS_DMA to fix this.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/aoa')
0 files changed, 0 insertions, 0 deletions