ChangeSet 1.1455.1.6, 2003/07/13 22:53:19-07:00, nkiesel@tbdnetworks.com

[PATCH] PCI: fixup for compile error in pci/legacy.c

the last patch forgot to fix the debug code.


 arch/i386/pci/legacy.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/arch/i386/pci/legacy.c b/arch/i386/pci/legacy.c
--- a/arch/i386/pci/legacy.c	Mon Jul 14 16:55:27 2003
+++ b/arch/i386/pci/legacy.c	Mon Jul 14 16:55:27 2003
@@ -24,7 +24,7 @@
 		for (devfn = 0; devfn < 256; devfn += 8) {
 			if (!raw_pci_ops->read(0, n, devfn, PCI_VENDOR_ID, 2, &l) &&
 			    l != 0x0000 && l != 0xffff) {
-				DBG("Found device at %02x:%02x [%04x]\n", n, dev->devfn, l);
+				DBG("Found device at %02x:%02x [%04x]\n", n, devfn, l);
 				printk(KERN_INFO "PCI: Discovered peer bus %02x\n", n);
 				pci_scan_bus(n, &pci_root_ops, NULL);
 				break;
