]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/usb-ohci.c
Remove io_index argument from cpu_register_io_memory()
[mirror_qemu.git] / hw / usb-ohci.c
index 1cc1b62084c2e112b27b4624e34fcbe96e97566d..b921875fa071536a9397c57c0a6d523548e8b7e0 100644 (file)
@@ -1682,7 +1682,7 @@ static void usb_ohci_init(OHCIState *ohci, int num_ports, int devfn,
                 usb_frame_time, usb_bit_time);
     }
 
-    ohci->mem = cpu_register_io_memory(0, ohci_readfn, ohci_writefn, ohci);
+    ohci->mem = cpu_register_io_memory(ohci_readfn, ohci_writefn, ohci);
     ohci->localmem_base = localmem_base;
     ohci->name = name;