patch-2.3.37 linux/arch/mips/sni/pci.c

Next file: linux/arch/ppc/kernel/chrp_pci.c
Previous file: linux/arch/m68k/kernel/bios32.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.36/linux/arch/mips/sni/pci.c linux/arch/mips/sni/pci.c
@@ -30,7 +30,7 @@
 {
 	struct pci_dev *dev;
 
-	for (dev=pci_devices; dev; dev=dev->next) {
+	pci_for_each_dev(dev) {
 		/*
 		 * TODO: Take care of RM300 revision D boards for where the
 		 * network slot became an ordinary PCI slot.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)