summaryrefslogtreecommitdiff
path: root/src/soc/cavium/cn81xx
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/cavium/cn81xx')
-rw-r--r--src/soc/cavium/cn81xx/ecam0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/cavium/cn81xx/ecam0.c b/src/soc/cavium/cn81xx/ecam0.c
index ff3e7097ff..db5090f5df 100644
--- a/src/soc/cavium/cn81xx/ecam0.c
+++ b/src/soc/cavium/cn81xx/ecam0.c
@@ -181,7 +181,7 @@ static size_t ecam0_pci_enable_msix(struct device *dev,
dev_path(dev));
return -1;
}
- bar = ecam0_get_bar_val(dev, bar_idx);
+ bar = ecam0_get_bar_val(pcidev_bdf(dev), bar_idx);
if (!bar) {
printk(BIOS_ERR, "%s: Failed to find MSI-X bar\n",
dev_path(dev));