summary refs log tree commit diff stats
path: root/hw/tusb6010.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/tusb6010.c')
-rw-r--r--hw/tusb6010.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tusb6010.c b/hw/tusb6010.c
index f3aa7b1f80..622de81d59 100644
--- a/hw/tusb6010.c
+++ b/hw/tusb6010.c
@@ -742,7 +742,7 @@ TUSBState *tusb6010_init(qemu_irq intr)
     s->mask = 0xffffffff;
     s->intr = 0x00000000;
     s->otg_timer_val = 0;
-    s->iomemtype[1] = cpu_register_io_memory(0, tusb_async_readfn,
+    s->iomemtype[1] = cpu_register_io_memory(tusb_async_readfn,
                     tusb_async_writefn, s);
     s->irq = intr;
     s->otg_timer = qemu_new_timer(vm_clock, tusb_otg_tick, s);