summaryrefslogtreecommitdiff
path: root/sound/ppc/snd_ps3.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-12-17 18:24:04 +0300
committerJaroslav Kysela <perex@perex.cz>2008-01-31 19:29:37 +0300
commitf78dfac904325a996b8f97b045647898cc1ccc40 (patch)
treeda53f0ddb0768c17d75615184cb1741c4abedd6b /sound/ppc/snd_ps3.c
parent48ecb7e879ea172a0b3fd432ad49a870d7be6a59 (diff)
downloadlinux-f78dfac904325a996b8f97b045647898cc1ccc40.tar.xz
[ALSA] Add missing device link
Added the missing link to struct device from the card instance. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/ppc/snd_ps3.c')
-rw-r--r--sound/ppc/snd_ps3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/ppc/snd_ps3.c b/sound/ppc/snd_ps3.c
index 27b61899fe84..af812dc69ece 100644
--- a/sound/ppc/snd_ps3.c
+++ b/sound/ppc/snd_ps3.c
@@ -954,6 +954,7 @@ static int __init snd_ps3_driver_probe(struct ps3_system_bus_device *dev)
snd_ps3_init_avsetting(&the_card);
/* register the card */
+ snd_card_set_dev(the_card.card, &dev->core);
ret = snd_card_register(the_card.card);
if (ret < 0)
goto clean_dma_map;