aboutsummaryrefslogtreecommitdiff
path: root/sound/isa
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-01-14 09:34:06 +0100
committerTakashi Iwai <tiwai@suse.de>2009-01-14 09:34:06 +0100
commitb1a0aac05f044e78a589bfd7a9e2334aa640eb45 (patch)
tree75f68e83ecadfadac94b1627092c04e93dee6142 /sound/isa
parent183c6e0fb4e39c860960de4abd7541bd260491bb (diff)
ALSA: opti9xx - Fix build breakage by snd_card_create() conversion
Add a missing variable declaration. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa')
-rw-r--r--sound/isa/opti9xx/opti92x-ad1848.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c
index 87a4feb5010..cd6e60a6a4e 100644
--- a/sound/isa/opti9xx/opti92x-ad1848.c
+++ b/sound/isa/opti9xx/opti92x-ad1848.c
@@ -833,6 +833,7 @@ static int __devinit snd_opti9xx_probe(struct snd_card *card)
static int snd_opti9xx_card_new(struct snd_card **cardp)
{
struct snd_card *card;
+ int err;
err = snd_card_create(index, id, THIS_MODULE,
sizeof(struct snd_opti9xx), &card);