aboutsummaryrefslogtreecommitdiff
path: root/hw/isa/isa-bus.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-06-06 21:19:53 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2013-07-04 17:42:47 +0200
commitdb10ca9057b11222408f708d5d99a3888eca4feb (patch)
tree7900437ac9fa0a1fd3d85073bccc988c588cd7c8 /hw/isa/isa-bus.c
parent3cd2cf4375993494bcf6195c1637a3d009aa6fae (diff)
downloadqemu-db10ca9057b11222408f708d5d99a3888eca4feb.zip
qemu-db10ca9057b11222408f708d5d99a3888eca4feb.tar.gz
qemu-db10ca9057b11222408f708d5d99a3888eca4feb.tar.bz2
piolist: add owner argument to initialization functions and pass devices
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/isa/isa-bus.c')
-rw-r--r--hw/isa/isa-bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa/isa-bus.c b/hw/isa/isa-bus.c
index 136d17e..cfd610c 100644
--- a/hw/isa/isa-bus.c
+++ b/hw/isa/isa-bus.c
@@ -115,7 +115,7 @@ void isa_register_portio_list(ISADevice *dev, uint16_t start,
actually handled e.g. the FDC device. */
isa_init_ioport(dev, start);
- portio_list_init(piolist, pio_start, opaque, name);
+ portio_list_init(piolist, OBJECT(dev), pio_start, opaque, name);
portio_list_add(piolist, isabus->address_space_io, start);
}