summary refs log tree commit diff stats
path: root/hw/syborg_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/syborg_timer.c')
-rw-r--r--hw/syborg_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/syborg_timer.c b/hw/syborg_timer.c
index b6d7f0cd45..4f5e3a178a 100644
--- a/hw/syborg_timer.c
+++ b/hw/syborg_timer.c
@@ -215,7 +215,7 @@ static void syborg_timer_init(SysBusDevice *dev)
         exit(1);
     }
     sysbus_init_irq(dev, &s->irq);
-    iomemtype = cpu_register_io_memory(0, syborg_timer_readfn,
+    iomemtype = cpu_register_io_memory(syborg_timer_readfn,
                                        syborg_timer_writefn, s);
     sysbus_init_mmio(dev, 0x1000, iomemtype);