Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174796
b: refs/heads/master
c: b44d7db
h: refs/heads/master
v: v3
  • Loading branch information
Kenji Kaneshige authored and Jesse Barnes committed Nov 24, 2009
1 parent 18a8efb commit d97a70f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b06477dc4fcdfc21442ad334d3f3e335225ea0c
refs/heads/master: b44d7db36480a3b27e78141fc9d6597aa577744b
2 changes: 1 addition & 1 deletion trunk/drivers/pci/pcie/aer/aer_inject.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ static int pci_bus_set_aer_ops(struct pci_bus *bus)
static struct pci_dev *pcie_find_root_port(struct pci_dev *dev)
{
while (1) {
if (!dev->is_pcie)
if (!pci_is_pcie(dev))
break;
if (dev->pcie_type == PCI_EXP_TYPE_ROOT_PORT)
return dev;
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/pci/pcie/aer/ecrc.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static int enable_ecrc_checking(struct pci_dev *dev)
int pos;
u32 reg32;

if (!dev->is_pcie)
if (!pci_is_pcie(dev))
return -ENODEV;

pos = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ERR);
Expand Down Expand Up @@ -79,7 +79,7 @@ static int disable_ecrc_checking(struct pci_dev *dev)
int pos;
u32 reg32;

if (!dev->is_pcie)
if (!pci_is_pcie(dev))
return -ENODEV;

pos = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ERR);
Expand Down

0 comments on commit d97a70f

Please sign in to comment.