]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/pcccan.h
The first round of I/O space pointers separation.
[lincan.git] / lincan / include / pcccan.h
index 50039c1e0a4c6045113a25b69a1578485ee422e1..183186ba71274281fac83e6d221a5b94c6bb4f8d 100644 (file)
@@ -13,7 +13,7 @@ int pcccan_reset(struct candevice_t *candev);
 int pcccan_init_hw_data(struct candevice_t *candev);
 int pcccan_init_chip_data(struct candevice_t *candev, int chipnr);
 int pcccan_init_obj_data(struct canchip_t *chip, int objnr);
-void pcccan_write_register(unsigned data, unsigned long address);
-unsigned pcccan_read_register(unsigned long address);
+void pcccan_write_register(unsigned data, can_ioptr_t address);
+unsigned pcccan_read_register(can_ioptr_t address);
 int pcccan_program_irq(struct candevice_t *candev);