diff options
Diffstat (limited to 'hw/pl031.c')
-rw-r--r-- | hw/pl031.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pl031.c b/hw/pl031.c index 11ecf7328..5c9992edf 100644 --- a/hw/pl031.c +++ b/hw/pl031.c @@ -189,7 +189,7 @@ static void pl031_init(SysBusDevice *dev) pl031_state *s = FROM_SYSBUS(pl031_state, dev); struct tm tm; - iomemtype = cpu_register_io_memory(0, pl031_readfn, pl031_writefn, s); + iomemtype = cpu_register_io_memory(pl031_readfn, pl031_writefn, s); if (iomemtype == -1) { hw_error("pl031_init: Can't register I/O memory\n"); } |