summaryrefslogtreecommitdiffstats
path: root/hw/adb.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/adb.c')
-rw-r--r--hw/adb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/adb.c b/hw/adb.c
index cceb098..c57aeaa 100644
--- a/hw/adb.c
+++ b/hw/adb.c
@@ -122,7 +122,7 @@ ADBDevice *adb_register_device(ADBBusState *s, int devaddr,
d->devreq = devreq;
d->devreset = devreset;
d->opaque = opaque;
- qemu_register_reset((QEMUResetHandler *)devreset, 0, d);
+ qemu_register_reset((QEMUResetHandler *)devreset, d);
d->devreset(d);
return d;
}
OpenPOWER on IntegriCloud