summaryrefslogtreecommitdiffstats
path: root/drivers/pci/dmar.c
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2009-11-11 06:36:17 +0100
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-11-25 00:25:16 +0100
commit5f4d91a1228ac85c75b099efd36fff1a3407335c (patch)
treeed0d13811c60bf3357ef70ea2931e29a358ed023 /drivers/pci/dmar.c
parentPCI: introduce pci_is_pcie() (diff)
downloadlinux-5f4d91a1228ac85c75b099efd36fff1a3407335c.tar.xz
linux-5f4d91a1228ac85c75b099efd36fff1a3407335c.zip
PCI: use pci_is_pcie() in pci core
Change for PCI core to use pci_is_pcie() instead of checking pci_dev->is_pcie. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/dmar.c')
-rw-r--r--drivers/pci/dmar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c
index 22b02c6df854..e01ca4d6b3e6 100644
--- a/drivers/pci/dmar.c
+++ b/drivers/pci/dmar.c
@@ -329,7 +329,7 @@ found:
for (bus = dev->bus; bus; bus = bus->parent) {
struct pci_dev *bridge = bus->self;
- if (!bridge || !bridge->is_pcie ||
+ if (!bridge || !pci_is_pcie(bridge) ||
bridge->pcie_type == PCI_EXP_TYPE_PCI_BRIDGE)
return 0;