-int smartcan_init_obj_data(struct chip_t *chip, int objnr);
-void smartcan_write_register(unsigned char data, unsigned long address);
-unsigned smartcan_read_register(unsigned long address);
+int smartcan_init_obj_data(struct canchip_t *chip, int objnr);
+void smartcan_write_register(unsigned data, can_ioptr_t address);
+unsigned smartcan_read_register(can_ioptr_t address);