-int smartcan_request_io(unsigned long io_addr);
-int smartcan_release_io(unsigned long io_addr);
-int smartcan_reset(int card);
-int smartcan_init_hw_data(int card);
-int smartcan_init_chip_data(int card, int chipnr);
-int smartcan_init_obj_data(int chipnr,int objnr);
-void smartcan_write_register(unsigned char data, unsigned long address);
+int smartcan_request_io(struct candevice_t *candev);
+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 canchip_t *chip, int objnr);
+void smartcan_write_register(unsigned data, unsigned long address);