]> Git Repo - qemu.git/blobdiff - hw/dma/pl080.c
hw/d*: pass owner to memory_region_init* functions
[qemu.git] / hw / dma / pl080.c
index 588c7b2571eacb9b4f9b6a1dccf3110246d40c89..7937c3ecf0c51dd62f5eec3314216948c7fcb352 100644 (file)
@@ -359,7 +359,7 @@ static int pl08x_init(SysBusDevice *dev, int nchannels)
 {
     pl080_state *s = FROM_SYSBUS(pl080_state, dev);
 
-    memory_region_init_io(&s->iomem, NULL, &pl080_ops, s, "pl080", 0x1000);
+    memory_region_init_io(&s->iomem, OBJECT(s), &pl080_ops, s, "pl080", 0x1000);
     sysbus_init_mmio(dev, &s->iomem);
     sysbus_init_irq(dev, &s->irq);
     s->nchannels = nchannels;
This page took 0.022763 seconds and 4 git commands to generate.