summaryrefslogtreecommitdiff
path: root/sound/drivers/portman2x4.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-11-26 08:58:48 +0100
committerJaroslav Kysela <perex@perex.cz>2008-01-31 17:29:29 +0100
commitd47ac4338301c373eca9d817ec9c6e33b069ac51 (patch)
treeb1b17f6b02ccc49908cdca081b0c4259771172be /sound/drivers/portman2x4.c
parent4f1895b0b5fbbd40299d85a07a6cd1742d1d1e1a (diff)
downloadlwn-d47ac4338301c373eca9d817ec9c6e33b069ac51.tar.gz
lwn-d47ac4338301c373eca9d817ec9c6e33b069ac51.zip
[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/portman2x4.c')
-rw-r--r--sound/drivers/portman2x4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/drivers/portman2x4.c b/sound/drivers/portman2x4.c
index 1b832870cc84..7e7c668eacdd 100644
--- a/sound/drivers/portman2x4.c
+++ b/sound/drivers/portman2x4.c
@@ -797,6 +797,8 @@ static int __devinit snd_portman_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, card);
+ snd_card_set_dev(card, &pdev->dev);
+
/* At this point card will be usable */
if ((err = snd_card_register(card)) < 0) {
snd_printd("Cannot register card\n");