]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/smartcan.h
The first round of I/O space pointers separation.
[lincan.git] / lincan / include / smartcan.h
index 58c0d422e4ddc6b56b7158fc15fbcd0229b979a0..11887be0ee25bf228a8889d960a7396f2af2eeaa 100644 (file)
@@ -13,6 +13,6 @@ 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);
 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);
-unsigned smartcan_read_register(unsigned long address);
+void smartcan_write_register(unsigned data, can_ioptr_t address);
+unsigned smartcan_read_register(can_ioptr_t address);