aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/mailbox.c
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2013-06-07 17:27:45 -0400
committerSuman Anna <s-anna@ti.com>2013-06-11 12:41:29 -0400
commitf91ca05ff490421d348e27baa2363a49547dee57 (patch)
treee8a97c9be877cea2bc386f435159a5d1fe53ed37 /arch/arm/mach-omap1/mailbox.c
parentecf305cf81c68446508c283015694e304939be5f (diff)
omap: mailbox: correct the argument type for irq ops
The argument type used in the actual individual omap_mbox_ops for irqs should be omap_mbox_irq_t instead of omap_mbox_type_t. Signed-off-by: Suman Anna <s-anna@ti.com>
Diffstat (limited to 'arch/arm/mach-omap1/mailbox.c')
-rw-r--r--arch/arm/mach-omap1/mailbox.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap1/mailbox.c b/arch/arm/mach-omap1/mailbox.c
index a343d5f9a50a..7246a5258292 100644
--- a/arch/arm/mach-omap1/mailbox.c
+++ b/arch/arm/mach-omap1/mailbox.c
@@ -86,21 +86,21 @@ static int omap1_mbox_fifo_full(struct omap_mbox *mbox)
86 86
87/* irq */ 87/* irq */
88static void 88static void
89omap1_mbox_enable_irq(struct omap_mbox *mbox, omap_mbox_type_t irq) 89omap1_mbox_enable_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq)
90{ 90{
91 if (irq == IRQ_RX) 91 if (irq == IRQ_RX)
92 enable_irq(mbox->irq); 92 enable_irq(mbox->irq);
93} 93}
94 94
95static void 95static void
96omap1_mbox_disable_irq(struct omap_mbox *mbox, omap_mbox_type_t irq) 96omap1_mbox_disable_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq)
97{ 97{
98 if (irq == IRQ_RX) 98 if (irq == IRQ_RX)
99 disable_irq(mbox->irq); 99 disable_irq(mbox->irq);
100} 100}
101 101
102static int 102static int
103omap1_mbox_is_irq(struct omap_mbox *mbox, omap_mbox_type_t irq) 103omap1_mbox_is_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq)
104{ 104{
105 if (irq == IRQ_TX) 105 if (irq == IRQ_TX)
106 return 0; 106 return 0;