diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-02-19 17:27:33 +0300 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-03-06 12:40:29 +0300 |
commit | c187c041c6552339e4d8883a1a00c3c489354eca (patch) | |
tree | 694c429561f3844ee6c8bc74031273a94ce3bf1c /sound/pci/ali5451 | |
parent | 3fc24d850708b8dfd3472b25eac0c32dd7708925 (diff) | |
download | linux-c187c041c6552339e4d8883a1a00c3c489354eca.tar.xz |
[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, return err; } + snd_card_set_dev(card, &pci->dev); + /* initialise synth voices*/ for (i = 0; i < ALI_CHANNELS; i++ ) { codec->synth.voices[i].number = i; |