[PATCH][v850] Update irq.c on v850 to use irqreturn_t

From: Miles Bader (miles@lsi.nec.co.jp)
Date: Mon May 05 2003 - 22:09:24 EST


diff -ruN -X../cludes linux-2.5.69-uc0/arch/v850/kernel/irq.c linux-2.5.69-uc0-v850-20030506/arch/v850/kernel/irq.c
--- linux-2.5.69-uc0/arch/v850/kernel/irq.c 2003-03-18 13:23:02.000000000 +0900
+++ linux-2.5.69-uc0-v850-20030506/arch/v850/kernel/irq.c 2003-05-06 10:49:25.000000000 +0900
@@ -35,7 +35,7 @@
  * Special irq handlers.
  */
 
-void no_action(int cpl, void *dev_id, struct pt_regs *regs) { }
+irqreturn_t no_action(int cpl, void *dev_id, struct pt_regs *regs) { }
 
 /*
  * Generic no controller code
@@ -352,7 +352,7 @@
  */
  
 int request_irq(unsigned int irq,
- void (*handler)(int, void *, struct pt_regs *),
+ irqreturn_t (*handler)(int, void *, struct pt_regs *),
                 unsigned long irqflags,
                 const char * devname,
                 void *dev_id)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:24 EST