summary refs log tree commit diff stats
path: root/hw/pl022.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl022.c')
-rw-r--r--hw/pl022.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pl022.c b/hw/pl022.c
index 27cb7aff64..78076e0873 100644
--- a/hw/pl022.c
+++ b/hw/pl022.c
@@ -293,7 +293,7 @@ static void pl022_init(SysBusDevice *dev)
     pl022_state *s = FROM_SYSBUS(pl022_state, dev);
     int iomemtype;
 
-    iomemtype = cpu_register_io_memory(0, pl022_readfn,
+    iomemtype = cpu_register_io_memory(pl022_readfn,
                                        pl022_writefn, s);
     sysbus_init_mmio(dev, 0x1000, iomemtype);
     sysbus_init_irq(dev, &s->irq);