X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lib%2Fcaps.c;h=b8a25a146501732b2eaea799520832207136edab;hb=89c51b98b81ab451b3c5c17f4c3ae643110ce13b;hp=13e395617758ad90befac56c4d31e8b6ecffc258;hpb=4f27ac73f86caadc0c96d178e262da06c657d46c;p=thirdparty%2Fpciutils.git diff --git a/lib/caps.c b/lib/caps.c index 13e3956..b8a25a1 100644 --- a/lib/caps.c +++ b/lib/caps.c @@ -106,7 +106,7 @@ pci_find_cap(struct pci_dev *d, unsigned int id, unsigned int type) { struct pci_cap *c; - pci_fill_info(d, ((type == PCI_CAP_NORMAL) ? PCI_FILL_CAPS : PCI_FILL_EXT_CAPS)); + pci_fill_info_v31(d, ((type == PCI_CAP_NORMAL) ? PCI_FILL_CAPS : PCI_FILL_EXT_CAPS)); for (c=d->first_cap; c; c=c->next) if (c->type == type && c->id == id) return c;