lkml.org 
[lkml]   [2003]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] More PCI fixes for 2.5.70
From
Date
ChangeSet 1.1315, 2003/06/05 12:04:12-07:00, greg@kroah.com

[PATCH] PCI: remove usage of pci_for_each_dev_reverse() in


drivers/ide/setup-pci.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c
--- a/drivers/ide/setup-pci.c Thu Jun 5 13:52:52 2003
+++ b/drivers/ide/setup-pci.c Thu Jun 5 13:52:52 2003
@@ -880,7 +880,7 @@
ide_scan_pcidev(dev);
}
} else {
- pci_for_each_dev_reverse(dev) {
+ while ((dev = pci_find_device_reverse(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
ide_scan_pcidev(dev);
}
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.034 / U:46.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site