diff options
author | Alex Chiang <achiang@hp.com> | 2009-09-10 12:34:04 -0600 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-09-14 08:46:48 -0700 |
commit | 6edd7679db92376ca54f328d6b0f12291c2dab35 (patch) | |
tree | b04ce7c5965e30914f3ba6e70f6553363552d23f /include/linux/pci_hotplug.h | |
parent | 9965976a38f66fc170fc0528b3115bf1a8a58b0a (diff) |
PCI Hotplug: acpiphp: find bridges the easy way
Instead of constantly evaluating _ADR and _SEG over and over again,
let's simplify our lives by using:
acpi_pci_find_root() for root bridges
acpi_get_pci_dev() for p2p bridges
This change eliminates some copy 'n paste code and also allows us
to simplify some internal interfaces.
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tested-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci_hotplug.h')
0 files changed, 0 insertions, 0 deletions