From f78dfac904325a996b8f97b045647898cc1ccc40 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 17 Dec 2007 16:24:04 +0100 Subject: [ALSA] Add missing device link Added the missing link to struct device from the card instance. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- sound/pcmcia/pdaudiocf/pdaudiocf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sound/pcmcia/pdaudiocf') diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf.c b/sound/pcmcia/pdaudiocf/pdaudiocf.c index de683b08fe0..5f5bbea8c39 100644 --- a/sound/pcmcia/pdaudiocf/pdaudiocf.c +++ b/sound/pcmcia/pdaudiocf/pdaudiocf.c @@ -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; -- cgit v1.2.3