From e824b2cc3b4f6fbcbaa254abd8db55d2fbe8d19e Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Mon, 8 Aug 2011 16:09:31 +0300 Subject: pci: rename pci_register_bar_region() to pci_register_bar() Reviewed-by: Richard Henderson Reviewed-by: Anthony Liguori Signed-off-by: Avi Kivity Signed-off-by: Anthony Liguori --- hw/usb-uhci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hw/usb-uhci.c') diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c index ea3816987..16088d7dc 100644 --- a/hw/usb-uhci.c +++ b/hw/usb-uhci.c @@ -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; } -- cgit v1.2.3