diff options
Diffstat (limited to 'sound/isa/opti9xx/opti92x-ad1848.c')
-rw-r--r-- | sound/isa/opti9xx/opti92x-ad1848.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c index a490bcacdfa8..73573cb1db6a 100644 --- a/sound/isa/opti9xx/opti92x-ad1848.c +++ b/sound/isa/opti9xx/opti92x-ad1848.c | |||
@@ -1273,7 +1273,7 @@ static int snd_opti93x_create(snd_card_t *card, opti9xx_t *chip, | |||
1273 | opti93x_t *codec; | 1273 | opti93x_t *codec; |
1274 | 1274 | ||
1275 | *rcodec = NULL; | 1275 | *rcodec = NULL; |
1276 | codec = kcalloc(1, sizeof(*codec), GFP_KERNEL); | 1276 | codec = kzalloc(sizeof(*codec), GFP_KERNEL); |
1277 | if (codec == NULL) | 1277 | if (codec == NULL) |
1278 | return -ENOMEM; | 1278 | return -ENOMEM; |
1279 | codec->irq = -1; | 1279 | codec->irq = -1; |