aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-02-09 10:25:48 -0500
committerJaroslav Kysela <perex@suse.cz>2007-02-09 10:25:48 -0500
commitc2902c8ae06762d941fab64198467f78cab6f8cd (patch)
treeb960df23be1ae9798cf6f306264d34f153f88654 /sound/core
parent48ec15dca87805cf771855612d647bfe1a9f617f (diff)
[PATCH] Fix breakage with CONFIG_SYSFS_DEPRECATED
The fix for sysfs breakage with CONFIG_SYSFS_DEPRECATED was flown away by the conflicted merge of the ALSA git tree. The patch below fixes it again. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/core')
-rw-r--r--sound/core/pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm.c b/sound/core/pcm.c
index 76fcc5234d83..2743414fc8fa 100644
--- a/sound/core/pcm.c
+++ b/sound/core/pcm.c
@@ -968,7 +968,7 @@ static int snd_pcm_dev_register(struct snd_device *device)
968 * if possible */ 968 * if possible */
969 dev = pcm->dev; 969 dev = pcm->dev;
970 if (!dev) 970 if (!dev)
971 dev = pcm->card ? pcm->card->dev : NULL; 971 dev = snd_card_get_device_link(pcm->card);
972 /* register pcm */ 972 /* register pcm */
973 err = snd_register_device_for_dev(devtype, pcm->card, 973 err = snd_register_device_for_dev(devtype, pcm->card,
974 pcm->device, 974 pcm->device,