Re: [PATCH] PCI fixes for 2.6.10-rc1

Greg KH
2004-11-12T23:44:45Z

ChangeSet 1.2091.1.16, 2004/11/12 14:09:21-08:00, hannal@us.ibm.com

[PATCH] isa.c: replace pci_find_device with pci_get_device

As pci_find_device is going away I've replaced it with pci_get_device.

Signed-off-by: Hanna Linder <hannal@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>

arch/sparc64/kernel/isa.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -Nru a/arch/sparc64/kernel/isa.c b/arch/sparc64/kernel/isa.c
--- a/arch/sparc64/kernel/isa.c 2004-11-12 15:10:04 -08:00
+++ b/arch/sparc64/kernel/isa.c 2004-11-12 15:10:04 -08:00
@@ -262,7 +262,7 @@
device = PCI_DEVICE_ID_AL_M1533;

pdev = NULL;
- while ((pdev = pci_find_device(vendor, device, pdev)) != NULL) {
+ while ((pdev = pci_get_device(vendor, device, pdev)) != NULL) {
struct pcidev_cookie *pdev_cookie;
struct pci_pbm_info *pbm;
struct sparc_isa_bridge *isa_br;