aboutsummaryrefslogtreecommitdiff
path: root/hw/prep_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/prep_pci.c')
-rw-r--r--hw/prep_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/prep_pci.c b/hw/prep_pci.c
index 80e20ac1ae..19f028c7b7 100644
--- a/hw/prep_pci.c
+++ b/hw/prep_pci.c
@@ -128,7 +128,7 @@ PCIBus *pci_prep_init(qemu_irq *pic)
s->bus = pci_register_bus(NULL, "pci",
prep_set_irq, prep_map_irq, pic, 0, 4);
- pci_host_config_register_ioport(0xcf8, s);
+ pci_host_conf_register_ioport(0xcf8, s);
pci_host_data_register_ioport(0xcfc, s);