All of lore.kernel.org
 help / color / mirror / Atom feed
From: Namhyung Kim <namhyung@gmail.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH RESEND] MIPS: Define dummy MAX_DMA_CHANNELS to fix build failure
Date: Thu, 02 Dec 2010 00:54:13 +0900	[thread overview]
Message-ID: <1291218853.1684.35.camel@leonhard> (raw)
In-Reply-To: <1289918840-13434-1-git-send-email-namhyung@gmail.com>

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@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
>  

Ping. Any comments?


-- 
Regards,
Namhyung Kim

      reply	other threads:[~2010-12-01 15:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16 14:47 [PATCH RESEND] MIPS: Define dummy MAX_DMA_CHANNELS to fix build failure Namhyung Kim
2010-12-01 15:54 ` Namhyung Kim [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1291218853.1684.35.camel@leonhard \
    --to=namhyung@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.