]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/pcan_dongle.c
Update of IRQ handlers to conform to arguments from new function prototype (Linux...
[lincan.git] / lincan / src / pcan_dongle.c
index ce94186c4a5fc753338f18f6480bef544ffa57ae..ca7ef798152fc3a19934464f769336f5ed47ce0c 100644 (file)
 #define ECR_PORT_SIZE            1  // size of the associated ECR register
 #define DNG_DEFAULT_COUNT        4  // count of defaults for init
 
 #define ECR_PORT_SIZE            1  // size of the associated ECR register
 #define DNG_DEFAULT_COUNT        4  // count of defaults for init
 
-typedef void (*PARPORT_IRQ_HANLDER)(int, void *, struct pt_regs *);
+typedef void (*PARPORT_IRQ_HANLDER)(CAN_IRQ_HANDLER_ARGS(irq_number, dev_id));
 
 /****************************************************************************/
 // GLOBALS
 
 /****************************************************************************/
 // GLOBALS