]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/pip.h
The first round of I/O space pointers separation.
[lincan.git] / lincan / include / pip.h
index 5feddfe5ae937d46c5a65bafa8655e0f00d2b007..93dcefaa32cabb54d30fa0c289d372cd2689c2cf 100644 (file)
@@ -15,7 +15,7 @@ int pip_reset(struct candevice_t *candev);
 int pip_init_hw_data(struct candevice_t *candev);
 int pip_init_chip_data(struct candevice_t *candev, int chipnr);
 int pip_init_obj_data(struct canchip_t *chip, int objnr);
-void pip_write_register(unsigned data, unsigned long address);
-unsigned pip_read_register(unsigned long address);
+void pip_write_register(unsigned data, can_ioptr_t address);
+unsigned pip_read_register(can_ioptr_t address);
 int pip_program_irq(struct candevice_t *candev);