diff options
Diffstat (limited to 'sound/pci/fm801.c')
-rw-r--r-- | sound/pci/fm801.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/fm801.c b/sound/pci/fm801.c index 36b2f62e8573..aaa41fb480a7 100644 --- a/sound/pci/fm801.c +++ b/sound/pci/fm801.c | |||
@@ -1263,7 +1263,7 @@ static int __devinit snd_fm801_create(snd_card_t * card, | |||
1263 | *rchip = NULL; | 1263 | *rchip = NULL; |
1264 | if ((err = pci_enable_device(pci)) < 0) | 1264 | if ((err = pci_enable_device(pci)) < 0) |
1265 | return err; | 1265 | return err; |
1266 | chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); | 1266 | chip = kzalloc(sizeof(*chip), GFP_KERNEL); |
1267 | if (chip == NULL) { | 1267 | if (chip == NULL) { |
1268 | pci_disable_device(pci); | 1268 | pci_disable_device(pci); |
1269 | return -ENOMEM; | 1269 | return -ENOMEM; |