diff options
Diffstat (limited to 'sound/pci/au88x0/au88x0.c')
-rw-r--r-- | sound/pci/au88x0/au88x0.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/pci/au88x0/au88x0.c b/sound/pci/au88x0/au88x0.c index 7059dd69e5e6..afb1b44b741e 100644 --- a/sound/pci/au88x0/au88x0.c +++ b/sound/pci/au88x0/au88x0.c | |||
@@ -211,8 +211,6 @@ snd_vortex_create(struct snd_card *card, struct pci_dev *pci, vortex_t ** rchip) | |||
211 | goto alloc_out; | 211 | goto alloc_out; |
212 | } | 212 | } |
213 | 213 | ||
214 | snd_card_set_dev(card, &pci->dev); | ||
215 | |||
216 | *rchip = chip; | 214 | *rchip = chip; |
217 | 215 | ||
218 | return 0; | 216 | return 0; |
@@ -250,7 +248,8 @@ snd_vortex_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) | |||
250 | return -ENOENT; | 248 | return -ENOENT; |
251 | } | 249 | } |
252 | // (2) | 250 | // (2) |
253 | err = snd_card_create(index[dev], id[dev], THIS_MODULE, 0, &card); | 251 | err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE, |
252 | 0, &card); | ||
254 | if (err < 0) | 253 | if (err < 0) |
255 | return err; | 254 | return err; |
256 | 255 | ||