aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Andrew Davis <afd@ti.com> 2024-04-10 08:59:32 -0500
committerGravatar Jassi Brar <jassisinghbrar@gmail.com> 2024-05-19 22:29:43 -0500
commit6979e8be50af143a373bf5905a176434a5880ca4 (patch)
treed2d043c050085bb21034865117016efb8fc4052c /include
parentmailbox: omap: Remove unused omap_mbox_request_channel() function (diff)
downloadlinux-6979e8be50af143a373bf5905a176434a5880ca4.tar.gz
linux-6979e8be50af143a373bf5905a176434a5880ca4.tar.bz2
linux-6979e8be50af143a373bf5905a176434a5880ca4.zip
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 'include')
-rw-r--r--include/linux/omap-mailbox.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/omap-mailbox.h b/include/linux/omap-mailbox.h
index f8ddf8e81416..3cc5c4ed7f5a 100644
--- a/include/linux/omap-mailbox.h
+++ b/include/linux/omap-mailbox.h
@@ -10,8 +10,4 @@ typedef uintptr_t mbox_msg_t;
#define omap_mbox_message(data) (u32)(mbox_msg_t)(data)
-typedef int __bitwise omap_mbox_irq_t;
-#define IRQ_TX ((__force omap_mbox_irq_t) 1)
-#define IRQ_RX ((__force omap_mbox_irq_t) 2)
-
#endif /* OMAP_MAILBOX_H */