aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/Makefile
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-07-26 18:59:36 +0200
committerJaroslav Kysela <perex@perex.cz>2007-10-16 15:58:05 +0200
commit8f11551b1798170dcffdd28475075ca4f1c6c990 (patch)
treec9df0e900e1ebe2f3067555c9decaecefca60920 /sound/core/Makefile
parentc93d1c25be410c0378d1d3d9e7efab06bf6a1261 (diff)
downloadkernel_samsung_espresso10-8f11551b1798170dcffdd28475075ca4f1c6c990.zip
kernel_samsung_espresso10-8f11551b1798170dcffdd28475075ca4f1c6c990.tar.gz
kernel_samsung_espresso10-8f11551b1798170dcffdd28475075ca4f1c6c990.tar.bz2
[ALSA] Fix build error without CONFIG_HAS_DMA
The recent change of include/asm-generic/dma-mapping-broken.h breaks the build without CONFIG_HAS_DMA. This patch is an ad hoc fix. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/core/Makefile')
-rw-r--r--sound/core/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/core/Makefile b/sound/core/Makefile
index 5a01c76..05f5cdc 100644
--- a/sound/core/Makefile
+++ b/sound/core/Makefile
@@ -14,7 +14,8 @@ endif
snd-pcm-objs := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \
pcm_memory.o
-snd-page-alloc-objs := memalloc.o sgbuf.o
+snd-page-alloc-y := memalloc.o
+snd-page-alloc-$(CONFIG_HAS_DMA) += sgbuf.o
snd-rawmidi-objs := rawmidi.o
snd-timer-objs := timer.o