PCI: Add pci_find_next_ext_capability()
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 13 Jul 2012 20:24:59 +0000 (14:24 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 22 Aug 2012 19:47:27 +0000 (13:47 -0600)
Some extended capabilities, e.g., the vendor-specific capability, can
occur several times.  The existing pci_find_ext_capability() only finds
the first occurrence.  This adds pci_find_next_ext_capability(), which
can iterate through all of them.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

No differences found