diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-13 12:46:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-13 12:46:22 -0400 |
commit | 63f3d1df1ad276a30b75339dd682a6e1f9d0c181 (patch) | |
tree | 91240ae476d553bda4a92b52ff46823421798f6c /sound/pci/mixart/mixart.c | |
parent | a8cd2e5045688157479a654786b2c08ab85f4d8f (diff) | |
parent | 676e1a2c1e7499eee8e7a81e577b4b6ba71ffb25 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa-current
Diffstat (limited to 'sound/pci/mixart/mixart.c')
-rw-r--r-- | sound/pci/mixart/mixart.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/mixart/mixart.c b/sound/pci/mixart/mixart.c index 6c868d913634..1a62c7f6c52b 100644 --- a/sound/pci/mixart/mixart.c +++ b/sound/pci/mixart/mixart.c | |||
@@ -1004,7 +1004,7 @@ static int __devinit snd_mixart_create(mixart_mgr_t *mgr, snd_card_t *card, int | |||
1004 | .dev_free = snd_mixart_chip_dev_free, | 1004 | .dev_free = snd_mixart_chip_dev_free, |
1005 | }; | 1005 | }; |
1006 | 1006 | ||
1007 | mgr->chip[idx] = chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); | 1007 | mgr->chip[idx] = chip = kzalloc(sizeof(*chip), GFP_KERNEL); |
1008 | if (! chip) { | 1008 | if (! chip) { |
1009 | snd_printk(KERN_ERR "cannot allocate chip\n"); | 1009 | snd_printk(KERN_ERR "cannot allocate chip\n"); |
1010 | return -ENOMEM; | 1010 | return -ENOMEM; |
@@ -1292,7 +1292,7 @@ static int __devinit snd_mixart_probe(struct pci_dev *pci, | |||
1292 | 1292 | ||
1293 | /* | 1293 | /* |
1294 | */ | 1294 | */ |
1295 | mgr = kcalloc(1, sizeof(*mgr), GFP_KERNEL); | 1295 | mgr = kzalloc(sizeof(*mgr), GFP_KERNEL); |
1296 | if (! mgr) { | 1296 | if (! mgr) { |
1297 | pci_disable_device(pci); | 1297 | pci_disable_device(pci); |
1298 | return -ENOMEM; | 1298 | return -ENOMEM; |
@@ -1424,6 +1424,7 @@ static void __devexit snd_mixart_remove(struct pci_dev *pci) | |||
1424 | 1424 | ||
1425 | static struct pci_driver driver = { | 1425 | static struct pci_driver driver = { |
1426 | .name = "Digigram miXart", | 1426 | .name = "Digigram miXart", |
1427 | .owner = THIS_MODULE, | ||
1427 | .id_table = snd_mixart_ids, | 1428 | .id_table = snd_mixart_ids, |
1428 | .probe = snd_mixart_probe, | 1429 | .probe = snd_mixart_probe, |
1429 | .remove = __devexit_p(snd_mixart_remove), | 1430 | .remove = __devexit_p(snd_mixart_remove), |