diff options
Diffstat (limited to 'hw/intel-hda.c')
-rw-r--r-- | hw/intel-hda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intel-hda.c b/hw/intel-hda.c index 1e4c71e..fa56a92 100644 --- a/hw/intel-hda.c +++ b/hw/intel-hda.c @@ -1136,7 +1136,7 @@ static int intel_hda_init(PCIDevice *pci) memory_region_init_io(&d->mmio, &intel_hda_mmio_ops, d, "intel-hda", 0x4000); - pci_register_bar_region(&d->pci, 0, 0, &d->mmio); + pci_register_bar(&d->pci, 0, 0, &d->mmio); if (d->msi) { msi_init(&d->pci, 0x50, 1, true, false); } |