X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/a4c9ead4b64bd4de307f375c2ff313a7a07a06e0..ce9505f94bf87d40caeed0b0452e39f95ed521b1:/lincan/include/nsi.h diff --git a/lincan/include/nsi.h b/lincan/include/nsi.h index 8ccc1b1..c48e4ef 100644 --- a/lincan/include/nsi.h +++ b/lincan/include/nsi.h @@ -12,7 +12,7 @@ int nsi_release_io(struct candevice_t *candev); int nsi_reset(struct candevice_t *candev); int nsi_init_hw_data(struct candevice_t *candev); int nsi_init_chip_data(struct candevice_t *candev, int chipnr); -int nsi_init_obj_data(struct chip_t *chip, int objnr); +int nsi_init_obj_data(struct canchip_t *chip, int objnr); void nsi_write_register(unsigned data, unsigned long address); unsigned nsi_read_register(unsigned long address); int nsi_program_irq(struct candevice_t *candev);