summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-10-08 23:56:13 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-10-09 00:15:28 +0100
commit65542070de7d6cd307657a71ab1712a6c58c0889 (patch)
tree232a1bee8fd8548f07be62c0bab34c3d9c7ed6fd
parentd864b96bb08f88d000cf8f78b5bac93fe631d0f5 (diff)
downloadop-kernel-dev-65542070de7d6cd307657a71ab1712a6c58c0889.zip
op-kernel-dev-65542070de7d6cd307657a71ab1712a6c58c0889.tar.gz
[MIPS] Fix return type of gt64120_irq.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/gt64120/common/time.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/gt64120/common/time.c b/arch/mips/gt64120/common/time.c
index b203169..efafabd 100644
--- a/arch/mips/gt64120/common/time.c
+++ b/arch/mips/gt64120/common/time.c
@@ -20,7 +20,7 @@
* differently than other MIPS interrupts.
*/
-static void gt64120_irq(int irq, void *dev_id)
+static irqreturn_t gt64120_irq(int irq, void *dev_id)
{
unsigned int irq_src, int_high_src, irq_src_mask, int_high_src_mask;
int handled = 0;
@@ -43,6 +43,8 @@ static void gt64120_irq(int irq, void *dev_id)
GT_WRITE(GT_INTRCAUSE_OFS, 0);
GT_WRITE(GT_HINTRCAUSE_OFS, 0);
+
+ return IRQ_HANDLED;
}
/*
OpenPOWER on IntegriCloud