Re: [PATCH] PCI fixes for 2.6.10-rc1

From: Greg KH
Date: Fri Nov 12 2004 - 18:47:48 EST


ChangeSet 1.2091.1.16, 2004/11/12 14:09:21-08:00, hannal@xxxxxxxxxx

[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@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <greg@xxxxxxxxx>


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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/