X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/3c5bd05707c62c6a2486b3327e496da80c6031f5..1b6d7503d59302cc11198b5cbb001c19a45abc9e:/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);