]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/pccan.c
The use of chip->chip_data is unnecessary, chip->hostdevice points to corresponding...
[lincan.git] / lincan / src / pccan.c
index 4b23f9b59fcbf49776d6412740f2a8c48f131cb0..4d877c6f419f19c7e23ba03918c96bf1f352196b 100644 (file)
@@ -286,7 +286,7 @@ int pccan_init_chip_data(struct candevice_t *candev, int chipnr)
        return 0;
 }      
 
-int pccan_init_obj_data(struct chip_t *chip, int objnr)
+int pccan_init_obj_data(struct canchip_t *chip, int objnr)
 {
        if (!strcmp(chip->chip_type,"sja1000")) {
                chip->msgobj[objnr]->obj_base_addr=chip->chip_base_addr;