diff options
Diffstat (limited to 'sound/pci/intel8x0.c')
-rw-r--r-- | sound/pci/intel8x0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index 47965dfcbee9..5975cd580545 100644 --- a/sound/pci/intel8x0.c +++ b/sound/pci/intel8x0.c | |||
@@ -2604,7 +2604,7 @@ static int __devinit snd_intel8x0_create(snd_card_t * card, | |||
2604 | if ((err = pci_enable_device(pci)) < 0) | 2604 | if ((err = pci_enable_device(pci)) < 0) |
2605 | return err; | 2605 | return err; |
2606 | 2606 | ||
2607 | chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); | 2607 | chip = kzalloc(sizeof(*chip), GFP_KERNEL); |
2608 | if (chip == NULL) { | 2608 | if (chip == NULL) { |
2609 | pci_disable_device(pci); | 2609 | pci_disable_device(pci); |
2610 | return -ENOMEM; | 2610 | return -ENOMEM; |