X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/3d6c5be34ccd4bf1633c6b7f98e9beedfebc262f..95c031e101c74ae6472a7e538f3128f67a490082:/lincan/src/can_devrtl.c diff --git a/lincan/src/can_devrtl.c b/lincan/src/can_devrtl.c index 301c52c..4557531 100644 --- a/lincan/src/can_devrtl.c +++ b/lincan/src/can_devrtl.c @@ -26,7 +26,7 @@ can_spinlock_t can_irq_manipulation_lock; unsigned int can_rtl_isr( unsigned int irq_num, struct pt_regs *r ) { - struct chip_t *chip; + struct canchip_t *chip; struct candevice_t *candev; int board_nr; int chip_nr; @@ -80,7 +80,7 @@ rtl_free_global_irq( irq ) void * can_chip_worker_thread(void *arg) { - struct chip_t *chip = (struct chip_t *) arg; + struct canchip_t *chip = (struct canchip_t *) arg; struct msgobj_t *obj; int ret, i; int loop_cnt; @@ -154,7 +154,7 @@ void * can_chip_worker_thread(void *arg) } -int can_chip_setup_irq(struct chip_t *chip) +int can_chip_setup_irq(struct canchip_t *chip) { int ret; struct sched_param sched_param; @@ -195,7 +195,7 @@ int can_chip_setup_irq(struct chip_t *chip) } -void can_chip_free_irq(struct chip_t *chip) +void can_chip_free_irq(struct canchip_t *chip) { if(chip->worker_thread) pthread_delete_np(chip->worker_thread);