]> Git Repo - qemu.git/blobdiff - hw/usb-ohci.c
scsi: push lun field to SCSIDevice
[qemu.git] / hw / usb-ohci.c
index d39bcb0c0d475847384987b6172c883743e909e5..d30db3f92f069f47ce68cb5888fe6fe7c0dd90af 100644 (file)
@@ -1790,7 +1790,7 @@ static int usb_ohci_initfn_pci(struct PCIDevice *dev)
     ohci->state.irq = ohci->pci_dev.irq[0];
 
     /* TODO: avoid cast below by using dev */
-    pci_register_bar_region(&ohci->pci_dev, 0, 0, &ohci->state.mem);
+    pci_register_bar(&ohci->pci_dev, 0, 0, &ohci->state.mem);
     return 0;
 }
 
This page took 0.025147 seconds and 4 git commands to generate.