summaryrefslogtreecommitdiffstats
path: root/arch/ppc/8xx_io/cs4218_tdm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/8xx_io/cs4218_tdm.c')
-rw-r--r--arch/ppc/8xx_io/cs4218_tdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/8xx_io/cs4218_tdm.c b/arch/ppc/8xx_io/cs4218_tdm.c
index c71ef3c2e7bf..b7bb5f0b3c5f 100644
--- a/arch/ppc/8xx_io/cs4218_tdm.c
+++ b/arch/ppc/8xx_io/cs4218_tdm.c
@@ -2601,7 +2601,7 @@ int __init tdm8xx_sound_init(void)
/* Initialize beep stuff */
orig_mksound = kd_mksound;
kd_mksound = cs_mksound;
- beep_buf = (short *) kmalloc(BEEP_BUFLEN * 4, GFP_KERNEL);
+ beep_buf = kmalloc(BEEP_BUFLEN * 4, GFP_KERNEL);
if (beep_buf == NULL)
printk(KERN_WARNING "dmasound: no memory for "
"beep buffer\n");
OpenPOWER on IntegriCloud