sound: Fix make allmodconfig on MIPS
authorTakashi Iwai <tiwai@suse.de>
Fri, 3 May 2013 15:07:24 +0000 (17:07 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 10 Sep 2013 00:57:30 +0000 (01:57 +0100)
commitb0538b44109490d481625b6a0d72aa6cb7131016
treeac50ea770a09b5ce4a2f4f6e959477a5fe92127c
parent8e29b9b8cbc247be52f2eec76842d744b43da44d
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 <akpm@linux-foundation.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/oss/Kconfig