diff options
Diffstat (limited to 'hw/syborg_rtc.c')
-rw-r--r-- | hw/syborg_rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/syborg_rtc.c b/hw/syborg_rtc.c index b480d53..48853f7 100644 --- a/hw/syborg_rtc.c +++ b/hw/syborg_rtc.c @@ -129,7 +129,7 @@ static void syborg_rtc_init(SysBusDevice *dev) struct tm tm; int iomemtype; - iomemtype = cpu_register_io_memory(0, syborg_rtc_readfn, + iomemtype = cpu_register_io_memory(syborg_rtc_readfn, syborg_rtc_writefn, s); sysbus_init_mmio(dev, 0x1000, iomemtype); |