aboutsummaryrefslogtreecommitdiff
path: root/sound/pcmcia/pdaudiocf
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pcmcia/pdaudiocf')
-rw-r--r--sound/pcmcia/pdaudiocf/pdaudiocf.c2
1 files changed, 2 insertions, 0 deletions
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;