aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/opti9xx/opti92x-ad1848.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-01-14 03:34:06 -0500
committerTakashi Iwai <tiwai@suse.de>2009-01-14 03:34:06 -0500
commitb1a0aac05f044e78a589bfd7a9e2334aa640eb45 (patch)
tree75f68e83ecadfadac94b1627092c04e93dee6142 /sound/isa/opti9xx/opti92x-ad1848.c
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/opti9xx/opti92x-ad1848.c')
-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 87a4feb50109..cd6e60a6a4ea 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)
833static int snd_opti9xx_card_new(struct snd_card **cardp) 833static int snd_opti9xx_card_new(struct snd_card **cardp)
834{ 834{
835 struct snd_card *card; 835 struct snd_card *card;
836 int err;
836 837
837 err = snd_card_create(index, id, THIS_MODULE, 838 err = snd_card_create(index, id, THIS_MODULE,
838 sizeof(struct snd_opti9xx), &card); 839 sizeof(struct snd_opti9xx), &card);