]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
ALSA: opti9xx - Fix build breakage by snd_card_create() conversion
authorTakashi Iwai <tiwai@suse.de>
Wed, 14 Jan 2009 08:34:06 +0000 (09:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 14 Jan 2009 08:34:06 +0000 (09:34 +0100)
Add a missing variable declaration.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/opti9xx/opti92x-ad1848.c

index 87a4feb5010931f1960191f42a7b3af191cbc9a0..cd6e60a6a4eafb8cfdd2dec8a76d016704018b72 100644 (file)
@@ -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);