X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=hw%2Fusb-ohci.c;h=e68be70b15356d984269ec9b72db4ee66c0556d5;hb=c1cd0b2c5131f24504d4513c4160cec73d53b326;hp=c2981c59a4b828276974f22df6987ee8ce6d4a94;hpb=2a22e6eb1b516a16ed2dd6c15da9a1e5b3455371;p=mirror_qemu.git diff --git a/hw/usb-ohci.c b/hw/usb-ohci.c index c2981c59a4..e68be70b15 100644 --- a/hw/usb-ohci.c +++ b/hw/usb-ohci.c @@ -1829,7 +1829,7 @@ static int ohci_init_pxa(SysBusDevice *dev) /* Cannot fail as we pass NULL for masterbus */ usb_ohci_init(&s->ohci, &dev->qdev, s->num_ports, s->dma_offset, NULL, 0); sysbus_init_irq(dev, &s->ohci.irq); - sysbus_init_mmio_region(dev, &s->ohci.mem); + sysbus_init_mmio(dev, &s->ohci.mem); return 0; }