Commit d4702b18 authored by Takashi Iwai's avatar Takashi Iwai

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: default avatarAndrew Morton <akpm@linux-foundation.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 49d9e77e
...@@ -250,6 +250,7 @@ config MSND_FIFOSIZE ...@@ -250,6 +250,7 @@ config MSND_FIFOSIZE
menuconfig SOUND_OSS menuconfig SOUND_OSS
tristate "OSS sound modules" tristate "OSS sound modules"
depends on ISA_DMA_API && VIRT_TO_BUS depends on ISA_DMA_API && VIRT_TO_BUS
depends on !ISA_DMA_SUPPORT_BROKEN
help help
OSS is the Open Sound System suite of sound card drivers. They make 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 sound programming easier since they provide a common API. Say Y or
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment