projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
533b660
)
PCI/AER: use pci_is_pcie() instead of obsolete pci_dev.is_pcie
author
Bjorn Helgaas
<bhelgaas@google.com>
Fri, 18 May 2012 22:52:40 +0000
(16:52 -0600)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Mon, 11 Jun 2012 17:23:43 +0000
(11:23 -0600)
Use pci_is_pcie() instead of looking at obsolete is_pcie field in
struct pci_dev.
CC: Huang Ying <ying.huang@intel.com>
CC: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aer/aerdrv_acpi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/pcie/aer/aerdrv_acpi.c
b/drivers/pci/pcie/aer/aerdrv_acpi.c
index 275bf158ffa7184978e33fb23124888e25570cc2..124f20ff11b2c9b9dc61c94f92cb59bdf61890ba 100644
(file)
--- a/
drivers/pci/pcie/aer/aerdrv_acpi.c
+++ b/
drivers/pci/pcie/aer/aerdrv_acpi.c
@@
-59,7
+59,7
@@
static int aer_hest_parse(struct acpi_hest_header *hest_hdr, void *data)
p = (struct acpi_hest_aer_common *)(hest_hdr + 1);
if (p->flags & ACPI_HEST_GLOBAL) {
- if ((
info->pci_dev->is_pcie
&&
+ if ((
pci_is_pcie(info->pci_dev)
&&
info->pci_dev->pcie_type == pcie_type) || bridge)
ff = !!(p->flags & ACPI_HEST_FIRMWARE_FIRST);
} else
This page took
0.024595 seconds
and
5
git commands to generate.