pci_dev_b to list_for_each_entry:
Subsystems (2)
PATCH 9/12 pci_dev_b to list_for_each_entry:
arch/sparc/kernel/pcic.c +2 -3
@@ -607,7 +607,7 @@*/ void __init pcibios_fixup_bus (struct pci_bus *bus) { -struct list_head *walk; +struct pci_dev *dev;int i, has_io, has_mem;unsigned int cmd;struct linux_pcic *pcic;
@@ -629,8 +629,7 @@return ; } -list_for_each (walk, &bus->devices) { -struct pci_dev *dev =pci_dev_b (walk); +list_for_each_entry (dev, &bus->devices, bus_list) {/* * Comment from i386 branch:
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors