From f78dfac904325a996b8f97b045647898cc1ccc40 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 17 Dec 2007 16:24:04 +0100 Subject: [ALSA] Add missing device link Added the missing link to struct device from the card instance. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- sound/arm/pxa2xx-ac97.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sound/arm') diff --git a/sound/arm/pxa2xx-ac97.c b/sound/arm/pxa2xx-ac97.c index 55c6c82..d255503 100644 --- a/sound/arm/pxa2xx-ac97.c +++ b/sound/arm/pxa2xx-ac97.c @@ -352,6 +352,7 @@ static int __devinit pxa2xx_ac97_probe(struct platform_device *dev) snprintf(card->longname, sizeof(card->longname), "%s (%s)", dev->dev.driver->name, card->mixername); + snd_card_set_dev(card, &dev->dev); ret = snd_card_register(card); if (ret == 0) { platform_set_drvdata(dev, card); -- cgit v1.1