]> git.proxmox.com Git - qemu.git/blobdiff - hw/mcf5206.c
Remove io_index argument from cpu_register_io_memory()
[qemu.git] / hw / mcf5206.c
index b570376a4d2989c3f54b80d25bf478fc62c8dab1..049099efc3521b6f64c5f720a7886a12b2faca62 100644 (file)
@@ -524,7 +524,7 @@ qemu_irq *mcf5206_init(uint32_t base, CPUState *env)
     int iomemtype;
 
     s = (m5206_mbar_state *)qemu_mallocz(sizeof(m5206_mbar_state));
-    iomemtype = cpu_register_io_memory(0, m5206_mbar_readfn,
+    iomemtype = cpu_register_io_memory(m5206_mbar_readfn,
                                        m5206_mbar_writefn, s);
     cpu_register_physical_memory(base, 0x00001000, iomemtype);