summaryrefslogtreecommitdiffstats
path: root/src/drivers/bus/pcimsix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/bus/pcimsix.c')
-rw-r--r--src/drivers/bus/pcimsix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/bus/pcimsix.c b/src/drivers/bus/pcimsix.c
index 80893c418..eb0450d91 100644
--- a/src/drivers/bus/pcimsix.c
+++ b/src/drivers/bus/pcimsix.c
@@ -84,7 +84,7 @@ static void * pci_msix_ioremap ( struct pci_device *pci, struct pci_msix *msix,
msix, pci_msix_name ( cfg ), base, bar, offset );
/* Map BAR portion */
- io = ioremap ( ( start + offset ), PCI_MSIX_LEN );
+ io = pci_ioremap ( pci, ( start + offset ), PCI_MSIX_LEN );
if ( ! io ) {
DBGC ( msix, "MSI-X %p %s could not map %#08lx\n",
msix, pci_msix_name ( cfg ), base );