diff options
Diffstat (limited to 'sys/ofed')
-rw-r--r-- | sys/ofed/include/linux/pci.h | 2 |
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, ®)) + if (pci_find_cap(pdev->dev.bsddev, capid, ®)) return (0); return (reg); } |