diff options
author | Andrew Davis <afd@ti.com> | 2024-04-10 08:59:32 -0500 |
---|---|---|
committer | Jassi Brar <jassisinghbrar@gmail.com> | 2024-05-19 22:29:43 -0500 |
commit | 6979e8be50af143a373bf5905a176434a5880ca4 (patch) | |
tree | d2d043c050085bb21034865117016efb8fc4052c /drivers/mailbox | |
parent | 6faf89a89f45f649afd0d081fa99add399582595 (diff) |
mailbox: omap: Move omap_mbox_irq_t into driver
This is only used internal to the driver, move it out of the
public header and into the driver file. While we are here,
this is not used as a bitwise, so drop that and make it a
simple enum type.
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'drivers/mailbox')
-rw-r--r-- | drivers/mailbox/omap-mailbox.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mailbox/omap-mailbox.c b/drivers/mailbox/omap-mailbox.c index 8151722eef38..c083734b6954 100644 --- a/drivers/mailbox/omap-mailbox.c +++ b/drivers/mailbox/omap-mailbox.c @@ -51,6 +51,11 @@ #define MBOX_INTR_CFG_TYPE1 0 #define MBOX_INTR_CFG_TYPE2 1 +typedef enum { + IRQ_TX = 1, + IRQ_RX = 2, +} omap_mbox_irq_t; + struct omap_mbox_fifo { unsigned long msg; unsigned long fifo_stat; |