aboutsummaryrefslogtreecommitdiff
path: root/hw/dma/i82374.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dma/i82374.c')
-rw-r--r--hw/dma/i82374.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/i82374.c b/hw/dma/i82374.c
index ecda5cb192..a5b891f968 100644
--- a/hw/dma/i82374.c
+++ b/hw/dma/i82374.c
@@ -139,7 +139,7 @@ static void i82374_isa_realize(DeviceState *dev, Error **errp)
I82374State *s = &isa->state;
PortioList *port_list = g_new(PortioList, 1);
- portio_list_init(port_list, i82374_portio_list, s, "i82374");
+ portio_list_init(port_list, OBJECT(isa), i82374_portio_list, s, "i82374");
portio_list_add(port_list, isa_address_space_io(&isa->parent_obj),
isa->iobase);