]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/sysdep_lnx.c
Update of IRQ handlers to conform to arguments from new function prototype (Linux...
[lincan.git] / lincan / src / sysdep_lnx.c
index 07ef7d04c3d6f6c807f3a478d500c32a02a3f148..2161fee576552214cf299228c0595a7a1c3985ce 100644 (file)
@@ -198,12 +198,12 @@ void can_release_mem_region(unsigned long start, unsigned long n)
  * 
  * File: src/setup.c
  */
-can_irqreturn_t can_default_irq_dispatch(int irq, void *dev_id, struct pt_regs *regs)
+can_irqreturn_t can_default_irq_dispatch(CAN_IRQ_HANDLER_ARGS(irq_number, dev_id))
 {
        int retval;
        struct canchip_t *chip=(struct canchip_t *)dev_id;
 
-       retval=chip->chipspecops->irq_handler(irq, chip);
+       retval=chip->chipspecops->irq_handler(irq_number, chip);
        return CAN_IRQ_RETVAL(retval);
 }