Skip to contentSkip to conversation

pci_dev_b to list_for_each_entry:

PATCH New Domen Puncer 1 participant 1 message Aug 20, 2004 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 3/12 pci_dev_b to list_for_each_entry:

arch/ia64/pci/pci.c +3 -3
@@ -362,10 +362,10 @@
 void __devinit
 pcibios_fixup_bus (struct pci_bus *b)
 {
-	struct list_head *ln;
+	struct pci_dev *dev;
 
-	list_for_each(ln, &b->devices)
-		pcibios_fixup_device_resources(pci_dev_b(ln), b);
+	list_for_each_entry(dev, &b->devices, bus_list)
+		pcibios_fixup_device_resources(dev, b);
 
 	return;
 }

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors