aboutsummaryrefslogtreecommitdiffstats
path: root/sound/aoa/core
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2006-10-05 09:07:23 -0400
committerJaroslav Kysela <perex@suse.cz>2007-02-09 03:00:08 -0500
commit73e85fe8452b950b93cfb61377f749e9b15437fb (patch)
treea8e9a8935143b748bbc955bf6cc53402dd642156 /sound/aoa/core
parentc78085fcd2ce7cd036e1488472eb41a64d70949a (diff)
[ALSA] aoa: set device pointer in pcms
This patch makes a few whitespace cleanups and makes i2sbus assign the new struct device pointer in struct snd_pcm so that the proper device symlink shows up in sysfs. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/aoa/core')
-rw-r--r--sound/aoa/core/snd-aoa-alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/core/snd-aoa-alsa.c b/sound/aoa/core/snd-aoa-alsa.c
index b42fdea77ed0..8c5a19bd602a 100644
--- a/sound/aoa/core/snd-aoa-alsa.c
+++ b/sound/aoa/core/snd-aoa-alsa.c
@@ -59,7 +59,7 @@ void aoa_alsa_cleanup(void)
59} 59}
60 60
61int aoa_snd_device_new(snd_device_type_t type, 61int aoa_snd_device_new(snd_device_type_t type,
62 void * device_data, struct snd_device_ops * ops) 62 void * device_data, struct snd_device_ops * ops)
63{ 63{
64 struct snd_card *card = aoa_get_card(); 64 struct snd_card *card = aoa_get_card();
65 int err; 65 int err;