diff options
Diffstat (limited to 'sound/mips/hal2.c')
-rw-r--r-- | sound/mips/hal2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/mips/hal2.c b/sound/mips/hal2.c index 37d378a26a50..c8904e732aaa 100644 --- a/sound/mips/hal2.c +++ b/sound/mips/hal2.c | |||
@@ -814,7 +814,7 @@ static int hal2_create(struct snd_card *card, struct snd_hal2 **rchip) | |||
814 | struct hpc3_regs *hpc3 = hpc3c0; | 814 | struct hpc3_regs *hpc3 = hpc3c0; |
815 | int err; | 815 | int err; |
816 | 816 | ||
817 | hal2 = kzalloc(sizeof(struct snd_hal2), GFP_KERNEL); | 817 | hal2 = kzalloc(sizeof(*hal2), GFP_KERNEL); |
818 | if (!hal2) | 818 | if (!hal2) |
819 | return -ENOMEM; | 819 | return -ENOMEM; |
820 | 820 | ||