diff options
Diffstat (limited to 'drivers/mailbox')
-rw-r--r-- | drivers/mailbox/omap-mailbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/omap-mailbox.c b/drivers/mailbox/omap-mailbox.c index 8754d810ef05..ba15a49af06e 100644 --- a/drivers/mailbox/omap-mailbox.c +++ b/drivers/mailbox/omap-mailbox.c | |||
@@ -384,7 +384,7 @@ static struct omap_mbox_queue *mbox_queue_alloc(struct omap_mbox *mbox, | |||
384 | if (!work) | 384 | if (!work) |
385 | return NULL; | 385 | return NULL; |
386 | 386 | ||
387 | mq = kzalloc(sizeof(struct omap_mbox_queue), GFP_KERNEL); | 387 | mq = kzalloc(sizeof(*mq), GFP_KERNEL); |
388 | if (!mq) | 388 | if (!mq) |
389 | return NULL; | 389 | return NULL; |
390 | 390 | ||