aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/atiixp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/atiixp.c')
-rw-r--r--sound/pci/atiixp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c
index 19c7bd08d06d..874157f27011 100644
--- a/sound/pci/atiixp.c
+++ b/sound/pci/atiixp.c
@@ -1531,7 +1531,7 @@ static int __devinit snd_atiixp_create(snd_card_t *card,
1531 if ((err = pci_enable_device(pci)) < 0) 1531 if ((err = pci_enable_device(pci)) < 0)
1532 return err; 1532 return err;
1533 1533
1534 chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); 1534 chip = kzalloc(sizeof(*chip), GFP_KERNEL);
1535 if (chip == NULL) { 1535 if (chip == NULL) {
1536 pci_disable_device(pci); 1536 pci_disable_device(pci);
1537 return -ENOMEM; 1537 return -ENOMEM;