Messages in this thread Patch in this message | | | Subject | Re: [PATCH] PCI fixes for 2.6.10-rc1 | Date | Fri, 12 Nov 2004 15:22:00 -0800 | From | Greg KH <> |
| |
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; - 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/
| |