diff options
author | Avi Kivity <avi@redhat.com> | 2011-08-08 16:09:31 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-08 10:22:30 -0500 |
commit | e824b2cc3b4f6fbcbaa254abd8db55d2fbe8d19e (patch) | |
tree | 72d1a08845c780d6a82cea88f3dd6ea2e5ca7e2e /hw/vga-pci.c | |
parent | 50181f10dae755aad2b4f4f486d18e48dd66ea37 (diff) | |
download | qemu-e824b2cc3b4f6fbcbaa254abd8db55d2fbe8d19e.tar.gz |
pci: rename pci_register_bar_region() to pci_register_bar()
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/vga-pci.c')
-rw-r--r-- | hw/vga-pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/vga-pci.c b/hw/vga-pci.c index 7062c4d5f5..c67be0abeb 100644 --- a/hw/vga-pci.c +++ b/hw/vga-pci.c @@ -60,8 +60,7 @@ static int pci_vga_initfn(PCIDevice *dev) s->screen_dump, s->text_update, s); /* XXX: VGA_RAM_SIZE must be a power of two */ - pci_register_bar_region(&d->dev, 0, PCI_BASE_ADDRESS_MEM_PREFETCH, - &s->vram); + pci_register_bar(&d->dev, 0, PCI_BASE_ADDRESS_MEM_PREFETCH, &s->vram); if (!dev->rom_bar) { /* compatibility with pc-0.13 and older */ |