diff options
Diffstat (limited to 'hw/misc/mst_fpga.c')
-rw-r--r-- | hw/misc/mst_fpga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/mst_fpga.c b/hw/misc/mst_fpga.c index b727dabfbf..604be5eafe 100644 --- a/hw/misc/mst_fpga.c +++ b/hw/misc/mst_fpga.c @@ -208,7 +208,7 @@ static int mst_fpga_init(SysBusDevice *dev) /* alloc the external 16 irqs */ qdev_init_gpio_in(&dev->qdev, mst_fpga_set_irq, MST_NUM_IRQS); - memory_region_init_io(&s->iomem, NULL, &mst_fpga_ops, s, + memory_region_init_io(&s->iomem, OBJECT(s), &mst_fpga_ops, s, "fpga", 0x00100000); sysbus_init_mmio(dev, &s->iomem); return 0; |