Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255974
b: refs/heads/master
c: d3aa0cb
h: refs/heads/master
v: v3
  • Loading branch information
Jon Mason authored and David S. Miller committed Jun 28, 2011
1 parent 4e2bf16 commit cb686bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 77c98e6a7a3ab76340b315d31fe1edded17cba15
refs/heads/master: d3aa0cb44f2cfcdfa6df1bd40b9c182b35528849
2 changes: 1 addition & 1 deletion trunk/drivers/net/niu.c
Original file line number Diff line number Diff line change
Expand Up @@ -9797,7 +9797,7 @@ static int __devinit niu_pci_init_one(struct pci_dev *pdev,
goto err_out_disable_pdev;
}

pos = pci_find_capability(pdev, PCI_CAP_ID_EXP);
pos = pci_pcie_cap(pdev);
if (pos <= 0) {
dev_err(&pdev->dev, "Cannot find PCI Express capability, aborting\n");
goto err_out_free_res;
Expand Down

0 comments on commit cb686bf

Please sign in to comment.