Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43945
b: refs/heads/master
c: 6451956
h: refs/heads/master
i:
  43943: 61c193f
v: v3
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Dec 10, 2006
1 parent 3b3d721 commit e000a93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: fc4fb2adf944d45a7f3d4d38df991c79ffdb6a43
refs/heads/master: 6451956a24963d3eb1655fd039762ae42ac48da7
4 changes: 2 additions & 2 deletions trunk/drivers/ide/setup-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -844,11 +844,11 @@ void __init ide_scan_pcibus (int scan_direction)

pre_init = 0;
if (!scan_direction) {
while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
ide_scan_pcidev(dev);
}
} else {
while ((dev = pci_find_device_reverse(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
while ((dev = pci_get_device_reverse(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
ide_scan_pcidev(dev);
}
}
Expand Down

0 comments on commit e000a93

Please sign in to comment.