From d47ac4338301c373eca9d817ec9c6e33b069ac51 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 26 Nov 2007 08:58:48 +0100 Subject: [ALSA] drivers - Add missing snd_card_set_dev() Added the missing call of snd_card_set_dev() in drivers/* Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- sound/drivers/mts64.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sound/drivers/mts64.c') diff --git a/sound/drivers/mts64.c b/sound/drivers/mts64.c index 68070cccc6be..e12ba3d52731 100644 --- a/sound/drivers/mts64.c +++ b/sound/drivers/mts64.c @@ -1008,6 +1008,8 @@ static int __devinit snd_mts64_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"); -- cgit v1.2.3