summaryrefslogtreecommitdiffstats
path: root/sys/ofed
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ofed')
-rw-r--r--sys/ofed/include/linux/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/include/linux/pci.h b/sys/ofed/include/linux/pci.h
index e4fb5f5..f9828ef 100644
--- a/sys/ofed/include/linux/pci.h
+++ b/sys/ofed/include/linux/pci.h
@@ -299,7 +299,7 @@ pci_find_capability(struct pci_dev *pdev, int capid)
{
int reg;
- if (pci_find_extcap(pdev->dev.bsddev, capid, &reg))
+ if (pci_find_cap(pdev->dev.bsddev, capid, &reg))
return (0);
return (reg);
}
OpenPOWER on IntegriCloud