summaryrefslogtreecommitdiff
path: root/sound/ppc/beep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/ppc/beep.c')
-rw-r--r--sound/ppc/beep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/ppc/beep.c b/sound/ppc/beep.c
index 5e5370e83d56..1b03a7961727 100644
--- a/sound/ppc/beep.c
+++ b/sound/ppc/beep.c
@@ -208,7 +208,7 @@ int snd_pmac_attach_beep(struct snd_pmac *chip)
void *dmabuf;
int err = -ENOMEM;
- beep = kzalloc_obj(*beep, GFP_KERNEL);
+ beep = kzalloc_obj(*beep);
if (! beep)
return -ENOMEM;
dmabuf = dma_alloc_coherent(&chip->pdev->dev, BEEP_BUFLEN * 4,