aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/emu10k1/emu10k1_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/emu10k1/emu10k1_main.c')
-rw-r--r--sound/pci/emu10k1/emu10k1_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c
index e69d5b739e80..03617ec0742f 100644
--- a/sound/pci/emu10k1/emu10k1_main.c
+++ b/sound/pci/emu10k1/emu10k1_main.c
@@ -865,7 +865,7 @@ int __devinit snd_emu10k1_create(snd_card_t * card,
865 if ((err = pci_enable_device(pci)) < 0) 865 if ((err = pci_enable_device(pci)) < 0)
866 return err; 866 return err;
867 867
868 emu = kcalloc(1, sizeof(*emu), GFP_KERNEL); 868 emu = kzalloc(sizeof(*emu), GFP_KERNEL);
869 if (emu == NULL) { 869 if (emu == NULL) {
870 pci_disable_device(pci); 870 pci_disable_device(pci);
871 return -ENOMEM; 871 return -ENOMEM;