From: Bjorn Helgaas Date: Fri, 13 Jul 2012 20:24:59 +0000 (-0600) Subject: PCI: Add pci_find_next_ext_capability() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~79^2~16^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44a9a36f6be43636ac2342c06d9feb60db77826a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed