Commit 89c0ac7c authored by Randy Dunlap's avatar Randy Dunlap Committed by Takashi Iwai

sound: fix opti92x-ad1848 build

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 2b9ddcb8
...@@ -217,8 +217,9 @@ static int __devinit snd_opti9xx_init(struct snd_opti9xx *chip, ...@@ -217,8 +217,9 @@ static int __devinit snd_opti9xx_init(struct snd_opti9xx *chip,
if (isapnp && chip->mc_base) if (isapnp && chip->mc_base)
/* PnP resource gives the least 10 bits */ /* PnP resource gives the least 10 bits */
chip->mc_base |= 0xc00; chip->mc_base |= 0xc00;
else
#endif /* CONFIG_PNP */ #endif /* CONFIG_PNP */
else { {
chip->mc_base = 0xf8c; chip->mc_base = 0xf8c;
chip->mc_base_size = opti9xx_mc_size[hardware]; chip->mc_base_size = opti9xx_mc_size[hardware];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment