Skip to content

Commit

Permalink
ALSA: opti9xx - Fix build breakage by snd_card_create() conversion
Browse files Browse the repository at this point in the history
Add a missing variable declaration.

Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Jan 14, 2009
1 parent 183c6e0 commit b1a0aac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/isa/opti9xx/opti92x-ad1848.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b1a0aac

Please sign in to comment.