summaryrefslogtreecommitdiffstats
path: root/hw/watchdog
diff options
context:
space:
mode:
authorPaolo Bonzini2013-06-07 03:19:53 +0200
committerPaolo Bonzini2013-07-04 17:42:47 +0200
commitdb10ca9057b11222408f708d5d99a3888eca4feb (patch)
tree7900437ac9fa0a1fd3d85073bccc988c588cd7c8 /hw/watchdog
parentpam: pass device to init_pam and use it to set owner (diff)
downloadqemu-db10ca9057b11222408f708d5d99a3888eca4feb.tar.gz
qemu-db10ca9057b11222408f708d5d99a3888eca4feb.tar.xz
qemu-db10ca9057b11222408f708d5d99a3888eca4feb.zip
piolist: add owner argument to initialization functions and pass devices
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/watchdog')
-rw-r--r--hw/watchdog/wdt_ib700.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/watchdog/wdt_ib700.c b/hw/watchdog/wdt_ib700.c
index 597a923294..c78855444c 100644
--- a/hw/watchdog/wdt_ib700.c
+++ b/hw/watchdog/wdt_ib700.c
@@ -112,7 +112,7 @@ static void wdt_ib700_realize(DeviceState *dev, Error **errp)
s->timer = qemu_new_timer_ns(vm_clock, ib700_timer_expired, s);
- portio_list_init(port_list, wdt_portio_list, s, "ib700");
+ portio_list_init(port_list, OBJECT(s), wdt_portio_list, s, "ib700");
portio_list_add(port_list, isa_address_space_io(&s->parent_obj), 0);
}