| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH RESEND] MIPS: Define dummy MAX_DMA_CHANNELS to fix build failure |
| From: | Namhyung Kim <namhyung@gmail.com> |
| Date: | Tue, 16 Nov 2010 23:47:20 +0900 |
| Cc: | linux-mips@linux-mips.org, linux-kernel@vger.kernel.org |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=Ofym5sFyqJ15LcOM4nxGy6FV2IdG5Jt8fB5IXdYp6G4=; b=E+vWAlHGHN7ncCb8HXy3/F3cuF7sRuM64WuetHRD9BdjhWAO2ToGhTk10Lp9LhOcm7 ro5h/EBuk1Rcb4ChDHX6hYK4SdonctmH6tj4jUkjXIda8HzUkn2nBHY4x9DFeceIYeAz EcWzTCHzwyuQDLGvYef8Wm+Ph72qVUShiJkAo= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=baUIfW7nTFCCkgj2rh15Tjy3nuxeSFeBqs6WNBTsbbJMOjI5p1EHQLffX14u31Vdy6 z1w7JduzU7QNlfilofXAuCwLZQcmPKxJRcFmhNuQFpXOZpTqZEioOGgqYafc+9aQqbKh z8Sb39P41D2Fb9BtCQUgbYdnRV+Z/4NyDggog= |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
allmodconfig build failes like following: CC [M] sound/oss/soundcard.o sound/oss/soundcard.c:68: error: 'MAX_DMA_CHANNELS' undeclared here (not in a function) make[3]: *** [sound/oss/soundcard.o] Error 1 make[2]: *** [sound/oss] Error 2 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2 Signed-off-by: Namhyung Kim <namhyung@gmail.com> --- arch/mips/include/asm/dma.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/mips/include/asm/dma.h b/arch/mips/include/asm/dma.h index 2d47da6..c601cff 100644 --- a/arch/mips/include/asm/dma.h +++ b/arch/mips/include/asm/dma.h @@ -74,7 +74,9 @@ * */ -#ifndef CONFIG_GENERIC_ISA_DMA_SUPPORT_BROKEN +#ifdef CONFIG_GENERIC_ISA_DMA_SUPPORT_BROKEN +#define MAX_DMA_CHANNELS 0 +#else #define MAX_DMA_CHANNELS 8 #endif -- 1.7.0.4 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] Enable AT_PLATFORM for Loongson 2F CPU, David Daney |
|---|---|
| Next by Date: | [PATCH] of: Request module by alias in of_i2c.c, David Daney |
| Previous by Thread: | MIPS: RTC and hwmon for SWARM, Matt Turner |
| Next by Thread: | [PATCH] of: Request module by alias in of_i2c.c, David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |