summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1
diff options
context:
space:
mode:
authorSuman Anna2013-06-07 23:27:45 +0200
committerSuman Anna2013-06-11 18:41:29 +0200
commitf91ca05ff490421d348e27baa2363a49547dee57 (patch)
treee8a97c9be877cea2bc386f435159a5d1fe53ed37 /arch/arm/mach-omap1
parentomap: mailbox: call request_irq after mbox queues are allocated (diff)
downloadkernel-qcow2-linux-f91ca05ff490421d348e27baa2363a49547dee57.tar.gz
kernel-qcow2-linux-f91ca05ff490421d348e27baa2363a49547dee57.tar.xz
kernel-qcow2-linux-f91ca05ff490421d348e27baa2363a49547dee57.zip
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')
-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)
/* irq */
static void
-omap1_mbox_enable_irq(struct omap_mbox *mbox, omap_mbox_type_t irq)
+omap1_mbox_enable_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq)
{
if (irq == IRQ_RX)
enable_irq(mbox->irq);
}
static void
-omap1_mbox_disable_irq(struct omap_mbox *mbox, omap_mbox_type_t irq)
+omap1_mbox_disable_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq)
{
if (irq == IRQ_RX)
disable_irq(mbox->irq);
}
static int
-omap1_mbox_is_irq(struct omap_mbox *mbox, omap_mbox_type_t irq)
+omap1_mbox_is_irq(struct omap_mbox *mbox, omap_mbox_irq_t irq)
{
if (irq == IRQ_TX)
return 0;