X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/c61a955168179d9b11a8f420979eed5cc24869c0..6250b3805fb7e368adf1e3f7ca39c8cc617bccff:/lincan/include/smartcan.h diff --git a/lincan/include/smartcan.h b/lincan/include/smartcan.h index 047ab4b..58c0d42 100644 --- a/lincan/include/smartcan.h +++ b/lincan/include/smartcan.h @@ -4,7 +4,7 @@ * Rewritten for new CAN queues by Pavel Pisa - OCERA team member * email:pisa@cmp.felk.cvut.cz * This software is released under the GPL-License. - * Version lincan-0.2 9 Jul 2003 + * Version lincan-0.3 17 Jun 2004 */ int smartcan_request_io(struct candevice_t *candev); @@ -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);