[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5h3a0azpd4.wl%tiwai@suse.de>
Date: Mon, 08 Mar 2010 18:37:27 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Randy Dunlap <randy.dunlap@...cle.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Jaroslav Kysela <perex@...ex.cz>
Subject: Re: [PATCH -next] sound: fix opti92x-ad1848 build
At Mon, 08 Mar 2010 09:32:42 -0800,
Randy Dunlap wrote:
>
> From: Randy Dunlap <randy.dunlap@...cle.com>
>
> Fix 'else' placement in ifdef block so that build succeeds:
>
> sound/isa/opti9xx/opti92x-ad1848.c:221: error: 'else' without a previous 'if'
>
> Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
> Cc: Jaroslav Kysela <perex@...ex.cz>
> Cc: Takashi Iwai <tiwai@...e.de>
Applied. Thanks!
Takashi
> ---
> sound/isa/opti9xx/opti92x-ad1848.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> --- linux-next-20100308.orig/sound/isa/opti9xx/opti92x-ad1848.c
> +++ linux-next-20100308/sound/isa/opti9xx/opti92x-ad1848.c
> @@ -217,8 +217,9 @@ static int __devinit snd_opti9xx_init(st
> if (isapnp && chip->mc_base)
> /* PnP resource gives the least 10 bits */
> chip->mc_base |= 0xc00;
> + else
> #endif /* CONFIG_PNP */
> - else {
> + {
> chip->mc_base = 0xf8c;
> chip->mc_base_size = opti9xx_mc_size[hardware];
> }
>
--
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