diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-06-06 21:19:53 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-07-04 17:42:47 +0200 |
commit | db10ca9057b11222408f708d5d99a3888eca4feb (patch) | |
tree | 7900437ac9fa0a1fd3d85073bccc988c588cd7c8 /hw/dma/i82374.c | |
parent | 3cd2cf4375993494bcf6195c1637a3d009aa6fae (diff) |
piolist: add owner argument to initialization functions and pass devices
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/dma/i82374.c')
-rw-r--r-- | hw/dma/i82374.c | 2 |
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); |