Change pci_raw_ops to pci_raw_read/write
[linux-2.6.git] / arch / x86 / pci / legacy.c
index 5565d70..e041ced 100644 (file)
@@ -22,7 +22,7 @@ static void __devinit pcibios_fixup_peer_bridges(void)
                if (pci_find_bus(0, n))
                        continue;
                for (devfn = 0; devfn < 256; devfn += 8) {
-                       if (!raw_pci_ops->read(0, n, devfn, PCI_VENDOR_ID, 2, &l) &&
+                       if (!raw_pci_read(0, n, devfn, PCI_VENDOR_ID, 2, &l) &&
                            l != 0x0000 && l != 0xffff) {
                                DBG("Found device at %02x:%02x [%04x]\n", n, devfn, l);
                                printk(KERN_INFO "PCI: Discovered peer bus %02x\n", n);