]> git.proxmox.com Git - qemu.git/blobdiff - hw/syborg_fb.c
Remove io_index argument from cpu_register_io_memory()
[qemu.git] / hw / syborg_fb.c
index 90254e44fbca08f5842cbc342a5425d5c75a57ad..42c62744ce23fa8a4a0745aaf1ec22e4e95a8e66 100644 (file)
@@ -511,7 +511,7 @@ static void syborg_fb_init(SysBusDevice *dev)
     int height;
 
     sysbus_init_irq(dev, &s->irq);
-    iomemtype = cpu_register_io_memory(0, syborg_fb_readfn,
+    iomemtype = cpu_register_io_memory(syborg_fb_readfn,
                                        syborg_fb_writefn, s);
     sysbus_init_mmio(dev, 0x1000, iomemtype);