]> Git Repo - qemu.git/blobdiff - hw/usb-uhci.c
pci: rename pci_register_bar_region() to pci_register_bar()
[qemu.git] / hw / usb-uhci.c
index ea381698760531d01329ed0249ff06380c13dd07..16088d7dcaaf46df1273482b3a9ea3416b4e1685 100644 (file)
@@ -1159,8 +1159,7 @@ static int usb_uhci_common_initfn(PCIDevice *dev)
     memory_region_init_io(&s->io_bar, &uhci_ioport_ops, s, "uhci", 0x20);
     /* Use region 4 for consistency with real hardware.  BSD guests seem
        to rely on this.  */
-    pci_register_bar_region(&s->dev, 4,
-                            PCI_BASE_ADDRESS_SPACE_IO, &s->io_bar);
+    pci_register_bar(&s->dev, 4, PCI_BASE_ADDRESS_SPACE_IO, &s->io_bar);
 
     return 0;
 }
This page took 0.024005 seconds and 4 git commands to generate.