commit | 79af72d716cf1bb13b175429cf181a6c4d063ee8 | [log] [tgz] |
---|---|---|
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | Fri Mar 20 14:55:55 2009 -0600 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Fri Mar 20 14:56:36 2009 -0700 |
tree | 2665c3e34983c8bcaf5fec76480fda163a88b045 | |
parent | 068258bc15439c11a966e873f931cc8e513dca61 [diff] |
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>