]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/pc_i03.c
The first round of I/O space pointers separation.
[lincan.git] / lincan / src / pc_i03.c
index c724068669dc36c8d329c2ae97b818a8d5509460..def0546ba52c356bcc2844db4e05f6890af15cb6 100644 (file)
@@ -230,7 +230,7 @@ int pci03_program_irq(struct candevice_t *candev)
  * Return Value: The function does not return a value
  * File: src/pc-i03.c
  */
-void pci03_write_register(unsigned data, unsigned long address)
+void pci03_write_register(unsigned data, can_ioptr_t address)
 {
        unsigned int *pci03_base_ptr;
        unsigned short address_to_write;
@@ -255,7 +255,7 @@ void pci03_write_register(unsigned data, unsigned long address)
  * Return Value: The function returns the value stored in @address
  * File: src/pc-i03.c
  */
-unsigned pci03_read_register(unsigned long address)
+unsigned pci03_read_register(can_ioptr_t address)
 {
        unsigned int *pci03_base_ptr;
        unsigned short address_to_read;