From: Suman Anna Date: Wed, 25 Jun 2014 00:43:39 +0000 (-0500) Subject: mailbox/omap: remove omap_mbox_type_t from mailbox ops X-Git-Tag: omap-for-v3.17/mailbox-cleanup~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe714a46a423f1b8802a1700b1b5956184738225;p=pandora-kernel.git mailbox/omap: remove omap_mbox_type_t from mailbox ops The type definition omap_mbox_type_t used for distinguishing OMAP1 from OMAP2+ mailboxes is no longer needed after the removal of OMAP1 mailbox driver, and has therefore been cleaned up. This cleanup also eliminates the need for the polling logic used for checking the transmit readiness. Signed-off-by: Suman Anna Signed-off-by: Tony Lindgren --- diff --git a/drivers/mailbox/mailbox-omap2.c b/drivers/mailbox/mailbox-omap2.c index 75fbc9072d01..b44e3bcff62a 100644 --- a/drivers/mailbox/mailbox-omap2.c +++ b/drivers/mailbox/mailbox-omap2.c @@ -205,7 +205,6 @@ static void omap2_mbox_restore_ctx(struct omap_mbox *mbox) } static struct omap_mbox_ops omap2_mbox_ops = { - .type = OMAP_MBOX_TYPE2, .startup = omap2_mbox_startup, .shutdown = omap2_mbox_shutdown, .fifo_read = omap2_mbox_fifo_read, Reading git-diff-tree failed