]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: use pci_is_root_bus() in acpi_pci_get_bridge_handle()
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 26 May 2009 07:05:06 +0000 (16:05 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 16 Jun 2009 21:29:29 +0000 (14:29 -0700)
commit9aedd6470bc6e215e2baeaba46f62188972450b5
tree755312ab296c6af67e6268ee1abf7b1c403a1518
parent8c37fae2df53307933a378341003c9fb3c0dad9e
PCI: use pci_is_root_bus() in acpi_pci_get_bridge_handle()

Use pci_is_root_bus() in acpi_pci_get_bridge_handle() to check if the
pci bus is root, for code consistency.

Reviewed-by: Grant Grundler <grundler@parisc-linux.org>
Reviewed-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
include/linux/pci-acpi.h