From db10ca9057b11222408f708d5d99a3888eca4feb Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 6 Jun 2013 21:19:53 -0400 Subject: piolist: add owner argument to initialization functions and pass devices Signed-off-by: Paolo Bonzini --- hw/dma/i82374.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/dma/i82374.c') diff --git a/hw/dma/i82374.c b/hw/dma/i82374.c index ecda5cb..a5b891f 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); -- cgit v1.1