X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ls-caps.c;h=bc1443af8a8b457fe6c94798a57291573113e486;hb=0ce6ff4aafb36a7923511a8da6bbbebb642e3109;hp=2c99812c4ed25cdb72c7c71054b53365ec78675c;hpb=e5d1d2dbb64cafd33f9b012b7959b61319dcd250;p=pciutils.git diff --git a/ls-caps.c b/ls-caps.c index 2c99812..bc1443a 100644 --- a/ls-caps.c +++ b/ls-caps.c @@ -1812,6 +1812,7 @@ show_caps(struct device *d, int where) break; case PCI_CAP_ID_EXP: type = cap_express(d, where, cap); + struct pci_cap* test = pci_find_cap(d->dev, PCI_CAP_ID_EXP, PCI_CAP_NORMAL); can_have_ext_caps = 1; break; case PCI_CAP_ID_MSIX: