diff options
author | Suman Anna <s-anna@ti.com> | 2013-06-07 17:27:45 -0400 |
---|---|---|
committer | Suman Anna <s-anna@ti.com> | 2013-06-11 12:41:29 -0400 |
commit | f91ca05ff490421d348e27baa2363a49547dee57 (patch) | |
tree | e8a97c9be877cea2bc386f435159a5d1fe53ed37 /arch/arm/mach-omap1/mailbox.c | |
parent | ecf305cf81c68446508c283015694e304939be5f (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.c | 6 |
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 */ |
88 | static void | 88 | static void |
89 | omap1_mbox_enable_irq(struct omap_mbox *mbox, omap_mbox_type_t irq) | 89 | omap1_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 | ||
95 | static void | 95 | static void |
96 | omap1_mbox_disable_irq(struct omap_mbox *mbox, omap_mbox_type_t irq) | 96 | omap1_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 | ||
102 | static int | 102 | static int |
103 | omap1_mbox_is_irq(struct omap_mbox *mbox, omap_mbox_type_t irq) | 103 | omap1_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; |