Commit b1a0aac0 authored by Takashi Iwai's avatar Takashi Iwai

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

Add a missing variable declaration.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 183c6e0f
...@@ -833,6 +833,7 @@ static int __devinit snd_opti9xx_probe(struct snd_card *card) ...@@ -833,6 +833,7 @@ static int __devinit snd_opti9xx_probe(struct snd_card *card)
static int snd_opti9xx_card_new(struct snd_card **cardp) static int snd_opti9xx_card_new(struct snd_card **cardp)
{ {
struct snd_card *card; struct snd_card *card;
int err;
err = snd_card_create(index, id, THIS_MODULE, err = snd_card_create(index, id, THIS_MODULE,
sizeof(struct snd_opti9xx), &card); sizeof(struct snd_opti9xx), &card);
......
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