summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2009-03-20 21:55:55 +0100
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-03-20 22:56:36 +0100
commit79af72d716cf1bb13b175429cf181a6c4d063ee8 (patch)
tree2665c3e34983c8bcaf5fec76480fda163a88b045 /drivers
parentx86/PCI: host mmconfig detect clean up (diff)
downloadlinux-79af72d716cf1bb13b175429cf181a6c4d063ee8.tar.xz
linux-79af72d716cf1bb13b175429cf181a6c4d063ee8.zip
PCI: pci_is_root_bus helper
Introduce pci_is_root_bus helper function. This will help make code more consistent, as well as prevent incorrect assumptions (such as pci_bus->self == NULL on a root bus, which is not always true). Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions