As pci_find_device is going away soon I have converted this file to use pci_get_device instead. for_each_pci_dev is just a macro wrapper around pci_get_device. I have compile tested it. If anyone has this hardware and could test it that would be great. Hanna Linder IBM Linux Technology Center Signed-off-by: Hanna Linder Signed-off-by: Maximilian Attems --- Signed-off-by: Domen Puncer --- kj-domen/drivers/char/agp/isoch.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/char/agp/isoch.c~for-each-pci-dev-drivers_char_agp_isoch drivers/char/agp/isoch.c --- kj/drivers/char/agp/isoch.c~for-each-pci-dev-drivers_char_agp_isoch 2004-12-25 01:34:46.000000000 +0100 +++ kj-domen/drivers/char/agp/isoch.c 2004-12-25 01:34:46.000000000 +0100 @@ -347,7 +347,7 @@ int agp_3_5_enable(struct agp_bridge_dat INIT_LIST_HEAD(head); /* Find all AGP devices, and add them to dev_list. */ - while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) { + for_each_pci_dev(dev) { mcapndx = pci_find_capability(dev, PCI_CAP_ID_AGP); if (mcapndx == 0) continue; _