diff options
Diffstat (limited to 'sound/isa/es18xx.c')
-rw-r--r-- | sound/isa/es18xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/es18xx.c b/sound/isa/es18xx.c index f654d5948367..d0ea19f42703 100644 --- a/sound/isa/es18xx.c +++ b/sound/isa/es18xx.c | |||
@@ -1686,7 +1686,7 @@ static int __devinit snd_es18xx_new_device(snd_card_t * card, | |||
1686 | int err; | 1686 | int err; |
1687 | 1687 | ||
1688 | *rchip = NULL; | 1688 | *rchip = NULL; |
1689 | chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); | 1689 | chip = kzalloc(sizeof(*chip), GFP_KERNEL); |
1690 | if (chip == NULL) | 1690 | if (chip == NULL) |
1691 | return -ENOMEM; | 1691 | return -ENOMEM; |
1692 | spin_lock_init(&chip->reg_lock); | 1692 | spin_lock_init(&chip->reg_lock); |