]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/pci/fixup.c
Change pci_raw_ops to pci_raw_read/write
[linux-2.6-omap-h63xx.git] / arch / x86 / pci / fixup.c
index 74d30ff33c495319e6f45da8097f7fefc5f4f606..a5ef5f55137313fcb1faec0145200beac774d4f8 100644 (file)
@@ -215,7 +215,8 @@ static int quirk_aspm_offset[MAX_PCIEROOT << 3];
 
 static int quirk_pcie_aspm_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value)
 {
-       return raw_pci_ops->read(0, bus->number, devfn, where, size, value);
+       return raw_pci_read(pci_domain_nr(bus), bus->number,
+                                               devfn, where, size, value);
 }
 
 /*
@@ -231,7 +232,8 @@ static int quirk_pcie_aspm_write(struct pci_bus *bus, unsigned int devfn, int wh
        if ((offset) && (where == offset))
                value = value & 0xfffffffc;
 
-       return raw_pci_ops->write(0, bus->number, devfn, where, size, value);
+       return raw_pci_write(pci_domain_nr(bus), bus->number,
+                                               devfn, where, size, value);
 }
 
 static struct pci_ops quirk_pcie_aspm_ops = {