From: Kenji Kaneshige Date: Wed, 11 Nov 2009 05:34:52 +0000 (+0900) Subject: pciehp: use pci_pcie_cap() X-Git-Tag: v2.6.33-rc1~321^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1518c17ab736303098843bd306a0fc4f8f5faa42;p=pandora-kernel.git pciehp: use pci_pcie_cap() Use pci_pcie_cap() instead of pci_find_capability() to get PCIe capability offset in pciehp driver. This avoids unnecessary search in PCI configuration space. This patch also removes 'cap_base' field in struct controller, that was used to hold PCIe capability offset by pciehp itself. Signed-off-by: Kenji Kaneshige Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed