diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-09-21 22:30:42 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-21 22:30:42 -0400 |
commit | 08217637fe8a0ba24e1bfc893569f9be4d836c6a (patch) | |
tree | aecd53ca7952b59d93f066161b677926e813a550 /sound/isa/sb/sb_common.c | |
parent | 793b883ed12a6ae6e2901ddb5e038b77d6f0c0ac (diff) | |
parent | efb0372bbaf5b829ff8c39db372779928af542a7 (diff) |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'sound/isa/sb/sb_common.c')
-rw-r--r-- | sound/isa/sb/sb_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/sb/sb_common.c b/sound/isa/sb/sb_common.c index 5b6bde213ea0..f0f205ae425f 100644 --- a/sound/isa/sb/sb_common.c +++ b/sound/isa/sb/sb_common.c | |||
@@ -221,7 +221,7 @@ int snd_sbdsp_create(snd_card_t *card, | |||
221 | 221 | ||
222 | snd_assert(r_chip != NULL, return -EINVAL); | 222 | snd_assert(r_chip != NULL, return -EINVAL); |
223 | *r_chip = NULL; | 223 | *r_chip = NULL; |
224 | chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); | 224 | chip = kzalloc(sizeof(*chip), GFP_KERNEL); |
225 | if (chip == NULL) | 225 | if (chip == NULL) |
226 | return -ENOMEM; | 226 | return -ENOMEM; |
227 | spin_lock_init(&chip->reg_lock); | 227 | spin_lock_init(&chip->reg_lock); |