diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-03-08 12:32:42 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-03-08 12:36:17 -0500 |
commit | 89c0ac7cab2440a771ba1e2ab953186bc9c29786 (patch) | |
tree | 920b4e4619e8e98c6c8d7e1ff351cf7bdbd6950d /sound/isa/opti9xx | |
parent | 2b9ddcb8b2ce6a44f0f969000f16b016caa64294 (diff) |
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: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/opti9xx')
-rw-r--r-- | sound/isa/opti9xx/opti92x-ad1848.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c index becd90d7536d..4d2d0405bdc7 100644 --- a/sound/isa/opti9xx/opti92x-ad1848.c +++ b/sound/isa/opti9xx/opti92x-ad1848.c | |||
@@ -217,8 +217,9 @@ static int __devinit snd_opti9xx_init(struct snd_opti9xx *chip, | |||
217 | if (isapnp && chip->mc_base) | 217 | if (isapnp && chip->mc_base) |
218 | /* PnP resource gives the least 10 bits */ | 218 | /* PnP resource gives the least 10 bits */ |
219 | chip->mc_base |= 0xc00; | 219 | chip->mc_base |= 0xc00; |
220 | else | ||
220 | #endif /* CONFIG_PNP */ | 221 | #endif /* CONFIG_PNP */ |
221 | else { | 222 | { |
222 | chip->mc_base = 0xf8c; | 223 | chip->mc_base = 0xf8c; |
223 | chip->mc_base_size = opti9xx_mc_size[hardware]; | 224 | chip->mc_base_size = opti9xx_mc_size[hardware]; |
224 | } | 225 | } |