commit | d3ccc4091f0d63a3e0976c739c27037a5666060d | [log] [tgz] |
---|---|---|
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | Wed Nov 11 14:34:15 2009 +0900 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Tue Nov 24 15:25:14 2009 -0800 |
tree | 047170187ca169a0090728ce92c5c62abbb66b3a | |
parent | db9538a7495e33f3571c0e791c7678bc0c6ef50f [diff] |
PCI hotplug: use pci_pcie_cap() Use pci_pcie_cap() instead of pci_find_capability() to get PCIe capability offset in PCI hotplug core. This avoids unnecessary search in PCI configuration space. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>