diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-11-26 10:58:48 +0300 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 19:29:29 +0300 |
commit | d47ac4338301c373eca9d817ec9c6e33b069ac51 (patch) | |
tree | b1b17f6b02ccc49908cdca081b0c4259771172be /sound/drivers/ml403-ac97cr.c | |
parent | 4f1895b0b5fbbd40299d85a07a6cd1742d1d1e1a (diff) | |
download | linux-d47ac4338301c373eca9d817ec9c6e33b069ac51.tar.xz |
[ALSA] drivers - Add missing snd_card_set_dev()
Added the missing call of snd_card_set_dev() in drivers/*
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/drivers/ml403-ac97cr.c')
-rw-r--r-- | sound/drivers/ml403-ac97cr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/drivers/ml403-ac97cr.c b/sound/drivers/ml403-ac97cr.c index c76a24e337f9..443104d23159 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); |