diff options
Diffstat (limited to 'sound/pci/korg1212/korg1212.c')
-rw-r--r-- | sound/pci/korg1212/korg1212.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/korg1212/korg1212.c b/sound/pci/korg1212/korg1212.c index d2aa9c82d41e..09f9cbe116a3 100644 --- a/sound/pci/korg1212/korg1212.c +++ b/sound/pci/korg1212/korg1212.c | |||
@@ -2220,7 +2220,7 @@ static int __devinit snd_korg1212_create(snd_card_t * card, struct pci_dev *pci, | |||
2220 | if ((err = pci_enable_device(pci)) < 0) | 2220 | if ((err = pci_enable_device(pci)) < 0) |
2221 | return err; | 2221 | return err; |
2222 | 2222 | ||
2223 | korg1212 = kcalloc(1, sizeof(*korg1212), GFP_KERNEL); | 2223 | korg1212 = kzalloc(sizeof(*korg1212), GFP_KERNEL); |
2224 | if (korg1212 == NULL) { | 2224 | if (korg1212 == NULL) { |
2225 | pci_disable_device(pci); | 2225 | pci_disable_device(pci); |
2226 | return -ENOMEM; | 2226 | return -ENOMEM; |
@@ -2534,6 +2534,7 @@ static void __devexit snd_korg1212_remove(struct pci_dev *pci) | |||
2534 | 2534 | ||
2535 | static struct pci_driver driver = { | 2535 | static struct pci_driver driver = { |
2536 | .name = "korg1212", | 2536 | .name = "korg1212", |
2537 | .owner = THIS_MODULE, | ||
2537 | .id_table = snd_korg1212_ids, | 2538 | .id_table = snd_korg1212_ids, |
2538 | .probe = snd_korg1212_probe, | 2539 | .probe = snd_korg1212_probe, |
2539 | .remove = __devexit_p(snd_korg1212_remove), | 2540 | .remove = __devexit_p(snd_korg1212_remove), |