aboutsummaryrefslogtreecommitdiff
path: root/sound/drivers/ml403-ac97cr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/drivers/ml403-ac97cr.c')
-rw-r--r--sound/drivers/ml403-ac97cr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/drivers/ml403-ac97cr.c b/sound/drivers/ml403-ac97cr.c
index c76a24e337f..443104d2315 100644
--- a/sound/drivers/ml403-ac97cr.c
+++ b/sound/drivers/ml403-ac97cr.c
@@ -1312,6 +1312,8 @@ static int __devinit snd_ml403_ac97cr_probe(struct platform_device *pfdev)
(unsigned long)ml403_ac97cr->port, ml403_ac97cr->irq,
ml403_ac97cr->capture_irq, dev + 1);
+ snd_card_set_dev(card, &pfdev->dev);
+
err = snd_card_register(card);
if (err < 0) {
snd_card_free(card);