]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/tscan1.h
The first round of I/O space pointers separation.
[lincan.git] / lincan / include / tscan1.h
index 97efdb653d276ea7264508a1683c8be5fc2dbe4d..427b387f88d7bedb0ae917cf8b6f4127425b45a9 100644 (file)
@@ -58,8 +58,8 @@ int tscan1_reset(struct candevice_t *candev);
 int tscan1_init_hw_data(struct candevice_t *candev);
 int tscan1_init_chip_data(struct candevice_t *candev, int chipnr);
 int tscan1_init_obj_data(struct canchip_t *chip, int objnr);
-void tscan1_write_register(unsigned data, unsigned long address);
-unsigned tscan1_read_register(unsigned long address);
+void tscan1_write_register(unsigned data, can_ioptr_t address);
+unsigned tscan1_read_register(can_ioptr_t address);
 int tscan1_program_irq(struct candevice_t *candev);
 
 unsigned long tscan1_getmappedaddr(unsigned long address);