From: Takashi Iwai Date: Fri, 3 May 2013 15:07:24 +0000 (+0200) Subject: sound: Fix make allmodconfig on MIPS X-Git-Tag: v3.2.51~30 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=b0538b44109490d481625b6a0d72aa6cb7131016 sound: Fix make allmodconfig on MIPS commit d4702b189c6b951c1cb3260036ff998f719bfb62 upstream. 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 Cc: Ralf Baechle Signed-off-by: Takashi Iwai Cc: Guenter Roeck Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- diff --git a/sound/oss/Kconfig b/sound/oss/Kconfig index 6c9e8e8f45f8..efc2e0c2175f 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