diff options
Diffstat (limited to 'drivers/pci/dmar.c')
-rw-r--r-- | drivers/pci/dmar.c | 2 |
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: | |||
329 | for (bus = dev->bus; bus; bus = bus->parent) { | 329 | for (bus = dev->bus; bus; bus = bus->parent) { |
330 | struct pci_dev *bridge = bus->self; | 330 | struct pci_dev *bridge = bus->self; |
331 | 331 | ||
332 | if (!bridge || !bridge->is_pcie || | 332 | if (!bridge || !pci_is_pcie(bridge) || |
333 | bridge->pcie_type == PCI_EXP_TYPE_PCI_BRIDGE) | 333 | bridge->pcie_type == PCI_EXP_TYPE_PCI_BRIDGE) |
334 | return 0; | 334 | return 0; |
335 | 335 | ||