X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/3d6c5be34ccd4bf1633c6b7f98e9beedfebc262f..95c031e101c74ae6472a7e538f3128f67a490082:/lincan/include/smartcan.h diff --git a/lincan/include/smartcan.h b/lincan/include/smartcan.h index e5916c2..58c0d42 100644 --- a/lincan/include/smartcan.h +++ b/lincan/include/smartcan.h @@ -12,7 +12,7 @@ int smartcan_release_io(struct candevice_t *candev); int smartcan_reset(struct candevice_t *candev); int smartcan_init_hw_data(struct candevice_t *candev); int smartcan_init_chip_data(struct candevice_t *candev, int chipnr); -int smartcan_init_obj_data(struct chip_t *chip, int objnr); +int smartcan_init_obj_data(struct canchip_t *chip, int objnr); void smartcan_write_register(unsigned data, unsigned long address); unsigned smartcan_read_register(unsigned long address);