diff options
author | Suman Anna <s-anna@ti.com> | 2014-06-25 04:43:39 +0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-07-29 12:57:25 +0400 |
commit | fe714a46a423f1b8802a1700b1b5956184738225 (patch) | |
tree | 6d34df0a4aec8f6d0d831eb330b93d022ab0ff7c /drivers/mailbox/omap-mbox.h | |
parent | 79859094e5bcc869f3fb7239b86a7f6b111f156a (diff) | |
download | linux-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/omap-mbox.h')
-rw-r--r-- | drivers/mailbox/omap-mbox.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mailbox/omap-mbox.h b/drivers/mailbox/omap-mbox.h index 86d7518cd13b..fae215195590 100644 --- a/drivers/mailbox/omap-mbox.h +++ b/drivers/mailbox/omap-mbox.h @@ -16,12 +16,7 @@ #include <linux/workqueue.h> #include <linux/omap-mailbox.h> -typedef int __bitwise omap_mbox_type_t; -#define OMAP_MBOX_TYPE1 ((__force omap_mbox_type_t) 1) -#define OMAP_MBOX_TYPE2 ((__force omap_mbox_type_t) 2) - struct omap_mbox_ops { - omap_mbox_type_t type; int (*startup)(struct omap_mbox *mbox); void (*shutdown)(struct omap_mbox *mbox); /* fifo */ |