]> Pileus Git - ~andy/linux/blobdiff - arch/powerpc/sysdev/fsl_pci.c
ARM: mvebu: Add support to get the ID and the revision of a SoC
[~andy/linux] / arch / powerpc / sysdev / fsl_pci.c
index 21039634d1d09bf0f9603c59f2baf61d4a95c2b9..4dfd61df8aba99a01fb0d3d141d1544aeea3b341 100644 (file)
@@ -45,7 +45,7 @@ static void quirk_fsl_pcie_early(struct pci_dev *dev)
        u8 hdr_type;
 
        /* if we aren't a PCIe don't bother */
-       if (!pci_find_capability(dev, PCI_CAP_ID_EXP))
+       if (!pci_is_pcie(dev))
                return;
 
        /* if we aren't in host mode don't bother */