1
0

[ALSA] Add missing device link

Added the missing link to struct device from the card instance.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Takashi Iwai
2007-12-17 16:24:04 +01:00
committed by Jaroslav Kysela
parent 48ecb7e879
commit f78dfac904
3 changed files with 4 additions and 0 deletions

View File

@@ -129,6 +129,8 @@ static int snd_pdacf_probe(struct pcmcia_device *link)
return -ENODEV;
}
snd_card_set_dev(card, &handle_to_dev(link));
pdacf->index = i;
card_list[i] = card;