aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/gt64120
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-10-08 18:56:13 -0400
committerRalf Baechle <ralf@linux-mips.org>2006-10-08 19:15:28 -0400
commit65542070de7d6cd307657a71ab1712a6c58c0889 (patch)
tree232a1bee8fd8548f07be62c0bab34c3d9c7ed6fd /arch/mips/gt64120
parentd864b96bb08f88d000cf8f78b5bac93fe631d0f5 (diff)
[MIPS] Fix return type of gt64120_irq.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/gt64120')
-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 b203169f19ce..efafabdd5bbf 100644
--- a/arch/mips/gt64120/common/time.c
+++ b/arch/mips/gt64120/common/time.c
@@ -20,7 +20,7 @@
20 * differently than other MIPS interrupts. 20 * differently than other MIPS interrupts.
21 */ 21 */
22 22
23static void gt64120_irq(int irq, void *dev_id) 23static irqreturn_t gt64120_irq(int irq, void *dev_id)
24{ 24{
25 unsigned int irq_src, int_high_src, irq_src_mask, int_high_src_mask; 25 unsigned int irq_src, int_high_src, irq_src_mask, int_high_src_mask;
26 int handled = 0; 26 int handled = 0;
@@ -43,6 +43,8 @@ static void gt64120_irq(int irq, void *dev_id)
43 43
44 GT_WRITE(GT_INTRCAUSE_OFS, 0); 44 GT_WRITE(GT_INTRCAUSE_OFS, 0);
45 GT_WRITE(GT_HINTRCAUSE_OFS, 0); 45 GT_WRITE(GT_HINTRCAUSE_OFS, 0);
46
47 return IRQ_HANDLED;
46} 48}
47 49
48/* 50/*