patch-2.3.37 linux/arch/ppc/kernel/chrp_pci.c
Next file: linux/arch/ppc/kernel/pci.c
Previous file: linux/arch/mips/sni/pci.c
Back to the patch index
Back to the overall index
-  Lines: 10
 -  Date:
Thu Jan  6 09:54:06 2000
 -  Orig file: 
v2.3.36/linux/arch/ppc/kernel/chrp_pci.c
 -  Orig date: 
Wed Oct 27 16:34:12 1999
 
diff -u --recursive --new-file v2.3.36/linux/arch/ppc/kernel/chrp_pci.c linux/arch/ppc/kernel/chrp_pci.c
@@ -282,8 +282,7 @@
 	}
 	
 	/* PCI interrupts are controlled by the OpenPIC */
-	for( dev=pci_devices ; dev; dev=dev->next )
-	{
+	pci_for_each_dev(dev) {
 		if ( dev->irq )
 			dev->irq = openpic_to_irq( dev->irq );
 		/* these need to be absolute addrs for OF and Matrox FB -- Cort */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)