summaryrefslogtreecommitdiff
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2009-11-11 14:34:52 +0900
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-11-24 15:25:15 -0800
commit1518c17ab736303098843bd306a0fc4f8f5faa42 (patch)
treeb2b3a4fdb08aece393eb852aa8d1225d07bf0382 /include/linux/pci.h
parentd3ccc4091f0d63a3e0976c739c27037a5666060d (diff)
downloadlwn-1518c17ab736303098843bd306a0fc4f8f5faa42.tar.gz
lwn-1518c17ab736303098843bd306a0fc4f8f5faa42.zip
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 <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci.h')
0 files changed, 0 insertions, 0 deletions