]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/pc-i03.h
The first round of I/O space pointers separation.
[lincan.git] / lincan / include / pc-i03.h
index 0e8ec4f3272a29631b2bfc9872bc5cb87d01be22..589e04233308238049c91dea832b2d37faa96a92 100644 (file)
@@ -13,7 +13,7 @@ int pci03_reset(struct candevice_t *candev);
 int pci03_init_hw_data(struct candevice_t *candev);
 int pci03_init_chip_data(struct candevice_t *candev, int chipnr);
 int pci03_init_obj_data(struct canchip_t *chip, int objnr);
-void pci03_write_register(unsigned data, unsigned long address);
-unsigned pci03_read_register(unsigned long address);
+void pci03_write_register(unsigned data, can_ioptr_t address);
+unsigned pci03_read_register(can_ioptr_t address);
 int pci03_program_irq(struct candevice_t *candev);