summaryrefslogtreecommitdiff
path: root/drivers/mailbox/mailbox-omap2.c
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2014-06-25 04:43:39 +0400
committerTony Lindgren <tony@atomide.com>2014-07-29 12:57:25 +0400
commitfe714a46a423f1b8802a1700b1b5956184738225 (patch)
tree6d34df0a4aec8f6d0d831eb330b93d022ab0ff7c /drivers/mailbox/mailbox-omap2.c
parent79859094e5bcc869f3fb7239b86a7f6b111f156a (diff)
downloadlinux-fe714a46a423f1b8802a1700b1b5956184738225.tar.xz
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 <s-anna@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/mailbox/mailbox-omap2.c')
-rw-r--r--drivers/mailbox/mailbox-omap2.c1
1 files changed, 0 insertions, 1 deletions
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,