X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/95c031e101c74ae6472a7e538f3128f67a490082..831ccb1f14f7472962fc2d185f32e18105209bd7:/lincan/include/pcccan.h?ds=sidebyside diff --git a/lincan/include/pcccan.h b/lincan/include/pcccan.h index 50039c1..183186b 100644 --- a/lincan/include/pcccan.h +++ b/lincan/include/pcccan.h @@ -13,7 +13,7 @@ int pcccan_reset(struct candevice_t *candev); int pcccan_init_hw_data(struct candevice_t *candev); int pcccan_init_chip_data(struct candevice_t *candev, int chipnr); int pcccan_init_obj_data(struct canchip_t *chip, int objnr); -void pcccan_write_register(unsigned data, unsigned long address); -unsigned pcccan_read_register(unsigned long address); +void pcccan_write_register(unsigned data, can_ioptr_t address); +unsigned pcccan_read_register(can_ioptr_t address); int pcccan_program_irq(struct candevice_t *candev);