diff options
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/lx6464es/lx6464es.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/lx6464es/lx6464es.c b/sound/pci/lx6464es/lx6464es.c index 7bc8b8caa992..870bfc58c697 100644 --- a/sound/pci/lx6464es/lx6464es.c +++ b/sound/pci/lx6464es/lx6464es.c | |||
@@ -1091,9 +1091,9 @@ static int __devinit snd_lx6464es_probe(struct pci_dev *pci, | |||
1091 | return -ENOENT; | 1091 | return -ENOENT; |
1092 | } | 1092 | } |
1093 | 1093 | ||
1094 | card = snd_card_new(index[dev], id[dev], THIS_MODULE, 0); | 1094 | err = snd_card_create(index[dev], id[dev], THIS_MODULE, 0, &card); |
1095 | if (card == NULL) | 1095 | if (err < 0) |
1096 | return -ENOMEM; | 1096 | return err; |
1097 | 1097 | ||
1098 | err = snd_lx6464es_create(card, pci, &chip); | 1098 | err = snd_lx6464es_create(card, pci, &chip); |
1099 | if (err < 0) { | 1099 | if (err < 0) { |