diff options
Diffstat (limited to 'sound/pci/fm801.c')
-rw-r--r-- | sound/pci/fm801.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/fm801.c b/sound/pci/fm801.c index 36b2f62e8573..e5cfa2a0c246 100644 --- a/sound/pci/fm801.c +++ b/sound/pci/fm801.c | |||
@@ -1263,7 +1263,7 @@ static int __devinit snd_fm801_create(snd_card_t * card, | |||
1263 | *rchip = NULL; | 1263 | *rchip = NULL; |
1264 | if ((err = pci_enable_device(pci)) < 0) | 1264 | if ((err = pci_enable_device(pci)) < 0) |
1265 | return err; | 1265 | return err; |
1266 | chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); | 1266 | chip = kzalloc(sizeof(*chip), GFP_KERNEL); |
1267 | if (chip == NULL) { | 1267 | if (chip == NULL) { |
1268 | pci_disable_device(pci); | 1268 | pci_disable_device(pci); |
1269 | return -ENOMEM; | 1269 | return -ENOMEM; |
@@ -1462,6 +1462,7 @@ static void __devexit snd_card_fm801_remove(struct pci_dev *pci) | |||
1462 | 1462 | ||
1463 | static struct pci_driver driver = { | 1463 | static struct pci_driver driver = { |
1464 | .name = "FM801", | 1464 | .name = "FM801", |
1465 | .owner = THIS_MODULE, | ||
1465 | .id_table = snd_fm801_ids, | 1466 | .id_table = snd_fm801_ids, |
1466 | .probe = snd_card_fm801_probe, | 1467 | .probe = snd_card_fm801_probe, |
1467 | .remove = __devexit_p(snd_card_fm801_remove), | 1468 | .remove = __devexit_p(snd_card_fm801_remove), |