This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / char / agp / isoch.c
index c9ac731..97e179a 100644 (file)
@@ -347,7 +347,7 @@ int agp_3_5_enable(struct agp_bridge_data *bridge)
        INIT_LIST_HEAD(head);
 
        /* Find all AGP devices, and add them to dev_list. */
-       for_each_pci_dev(dev) {
+       while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) {
                mcapndx = pci_find_capability(dev, PCI_CAP_ID_AGP);
                if (mcapndx == 0)
                        continue;