diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-02-19 09:27:33 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-03-06 04:40:29 -0500 |
commit | c187c041c6552339e4d8883a1a00c3c489354eca (patch) | |
tree | 694c429561f3844ee6c8bc74031273a94ce3bf1c /sound/pci/ali5451 | |
parent | 3fc24d850708b8dfd3472b25eac0c32dd7708925 (diff) |
[ALSA] Add missing sysfs device assignment for ALSA PCI drivers
Added the missing sysfs device assignment for ALSA PCI drivers.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/ali5451')
-rw-r--r-- | sound/pci/ali5451/ali5451.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/ali5451/ali5451.c b/sound/pci/ali5451/ali5451.c index 9327ab2eccb0..ba7fa22b285d 100644 --- a/sound/pci/ali5451/ali5451.c +++ b/sound/pci/ali5451/ali5451.c | |||
@@ -2312,6 +2312,8 @@ static int __devinit snd_ali_create(struct snd_card *card, | |||
2312 | return err; | 2312 | return err; |
2313 | } | 2313 | } |
2314 | 2314 | ||
2315 | snd_card_set_dev(card, &pci->dev); | ||
2316 | |||
2315 | /* initialise synth voices*/ | 2317 | /* initialise synth voices*/ |
2316 | for (i = 0; i < ALI_CHANNELS; i++ ) { | 2318 | for (i = 0; i < ALI_CHANNELS; i++ ) { |
2317 | codec->synth.voices[i].number = i; | 2319 | codec->synth.voices[i].number = i; |