X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/6250b3805fb7e368adf1e3f7ca39c8cc617bccff..6234a9dc385e5a9258a84227b2eab09bbb099c27:/lincan/include/pip.h diff --git a/lincan/include/pip.h b/lincan/include/pip.h index 5feddfe..93dcefa 100644 --- a/lincan/include/pip.h +++ b/lincan/include/pip.h @@ -15,7 +15,7 @@ int pip_reset(struct candevice_t *candev); int pip_init_hw_data(struct candevice_t *candev); int pip_init_chip_data(struct candevice_t *candev, int chipnr); int pip_init_obj_data(struct canchip_t *chip, int objnr); -void pip_write_register(unsigned data, unsigned long address); -unsigned pip_read_register(unsigned long address); +void pip_write_register(unsigned data, can_ioptr_t address); +unsigned pip_read_register(can_ioptr_t address); int pip_program_irq(struct candevice_t *candev);