X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/a4c9ead4b64bd4de307f375c2ff313a7a07a06e0..829bad30b94beb92822c1a23ef5887175957c94f:/lincan/include/template.h diff --git a/lincan/include/template.h b/lincan/include/template.h index bccf422..3963dc3 100644 --- a/lincan/include/template.h +++ b/lincan/include/template.h @@ -12,8 +12,8 @@ int template_release_io(struct candevice_t *candev); int template_reset(struct candevice_t *candev); int template_init_hw_data(struct candevice_t *candev); int template_init_chip_data(struct candevice_t *candev, int chipnr); -int template_init_obj_data(struct chip_t *chip, int objnr); -void template_write_register(unsigned data, unsigned long address); -unsigned template_read_register(unsigned long address); +int template_init_obj_data(struct canchip_t *chip, int objnr); +void template_write_register(unsigned data, can_ioptr_t address); +unsigned template_read_register(can_ioptr_t address); int template_program_irq(struct candevice_t *candev);