ALSA: opti9xx - Fix build breakage by snd_card_create() conversion

Add a missing variable declaration.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2009-01-14 09:34:06 +01:00
parent 183c6e0fb4
commit b1a0aac05f

View 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);