summary refs log tree commit diff
path: root/sound/oss
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-05-03 17:07:24 +0200
committerTakashi Iwai <tiwai@suse.de>2013-05-03 17:07:24 +0200
commitd4702b189c6b951c1cb3260036ff998f719bfb62 (patch)
tree85a877b66969131c0aa0ffc62ccd925344dcc826 /sound/oss
parent49d9e77e72cf178644b4db08fa211d8b4715ab13 (diff)
downloadlinux-d4702b189c6b951c1cb3260036ff998f719bfb62.tar.gz
sound: Fix make allmodconfig on MIPS
The compile of soundcard.c is broken on MIPS when allmodconfig is used
because of the missing MAX_DMA_CHANNELS definition.  As a simple
workaround, just add a Kconfig dependency.

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss')
-rw-r--r--sound/oss/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/oss/Kconfig b/sound/oss/Kconfig
index 5849b129e50d..51c4ba95a32d 100644
--- a/sound/oss/Kconfig
+++ b/sound/oss/Kconfig
@@ -250,6 +250,7 @@ config MSND_FIFOSIZE
 menuconfig SOUND_OSS
 	tristate "OSS sound modules"
 	depends on ISA_DMA_API && VIRT_TO_BUS
+	depends on !ISA_DMA_SUPPORT_BROKEN
 	help
 	  OSS is the Open Sound System suite of sound card drivers.  They make
 	  sound programming easier since they provide a common API.  Say Y or