[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1291218853.1684.35.camel@leonhard>
Date: Thu, 02 Dec 2010 00:54:13 +0900
From: Namhyung Kim <namhyung@...il.com>
To: Ralf Baechle <ralf@...ux-mips.org>
Cc: linux-mips@...ux-mips.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND] MIPS: Define dummy MAX_DMA_CHANNELS to fix
build failure
2010-11-16 (화), 23:47 +0900, Namhyung Kim:
> 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@...il.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
>
Ping. Any comments?
--
Regards,
Namhyung Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists