X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/a4c9ead4b64bd4de307f375c2ff313a7a07a06e0..6ff8f303e69a19e1f50d4d47ee8a77b923f7977f:/lincan/include/pcccan.h diff --git a/lincan/include/pcccan.h b/lincan/include/pcccan.h index 4efb380..50039c1 100644 --- a/lincan/include/pcccan.h +++ b/lincan/include/pcccan.h @@ -12,7 +12,7 @@ int pcccan_release_io(struct candevice_t *candev); 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 chip_t *chip, int objnr); +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); int pcccan_program_irq(struct candevice_t *candev);