X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/3d6c5be34ccd4bf1633c6b7f98e9beedfebc262f..95c031e101c74ae6472a7e538f3128f67a490082:/lincan/include/pcan_dongle.h diff --git a/lincan/include/pcan_dongle.h b/lincan/include/pcan_dongle.h index 307071a..ca5a14d 100644 --- a/lincan/include/pcan_dongle.h +++ b/lincan/include/pcan_dongle.h @@ -83,7 +83,7 @@ struct DONGLE_PORT int nMinor; // the associated minor char *type; // the literal type of the device, info only - struct chip_t *chip; + struct canchip_t *chip; }; @@ -95,7 +95,7 @@ int pcan_dongle_release_io(struct candevice_t *candev); int pcan_dongle_reset(struct candevice_t *candev); int pcan_dongle_init_hw_data(struct candevice_t *candev); int pcan_dongle_init_chip_data(struct candevice_t *candev, int chipnr); -int pcan_dongle_init_obj_data(struct chip_t *chip, int objnr); +int pcan_dongle_init_obj_data(struct canchip_t *chip, int objnr); void pcan_dongle_write_register(unsigned data, unsigned long address); unsigned pcan_dongle_read_register(unsigned long address); int pcan_dongle_program_irq(struct candevice_t *candev);