commit | 44a9a36f6be43636ac2342c06d9feb60db77826a | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Fri Jul 13 14:24:59 2012 -0600 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Wed Aug 22 13:47:27 2012 -0600 |
tree | 3ff1b3d23d6416454599aa5712a081fdbe5aaaa0 | |
parent | 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee [diff] |
PCI: Add pci_find_next_ext_capability() 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>