diff options
Diffstat (limited to 'arch/powerpc/sysdev/fsl_pci.c')
-rw-r--r-- | arch/powerpc/sysdev/fsl_pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/fsl_pci.c b/arch/powerpc/sysdev/fsl_pci.c index 4dfd61df8aba..a625dcf26b2b 100644 --- a/arch/powerpc/sysdev/fsl_pci.c +++ b/arch/powerpc/sysdev/fsl_pci.c | |||
@@ -122,7 +122,7 @@ static int fsl_pci_dma_set_mask(struct device *dev, u64 dma_mask) | |||
122 | * address width of the SoC such that we can address any internal | 122 | * address width of the SoC such that we can address any internal |
123 | * SoC address from across PCI if needed | 123 | * SoC address from across PCI if needed |
124 | */ | 124 | */ |
125 | if ((dev->bus == &pci_bus_type) && | 125 | if ((dev_is_pci(dev)) && |
126 | dma_mask >= DMA_BIT_MASK(MAX_PHYS_ADDR_BITS)) { | 126 | dma_mask >= DMA_BIT_MASK(MAX_PHYS_ADDR_BITS)) { |
127 | set_dma_ops(dev, &dma_direct_ops); | 127 | set_dma_ops(dev, &dma_direct_ops); |
128 | set_dma_offset(dev, pci64_dma_offset); | 128 | set_dma_offset(dev, pci64_dma_offset); |
@@ -454,7 +454,7 @@ void fsl_pcibios_fixup_bus(struct pci_bus *bus) | |||
454 | } | 454 | } |
455 | } | 455 | } |
456 | 456 | ||
457 | int __init fsl_add_bridge(struct platform_device *pdev, int is_primary) | 457 | int fsl_add_bridge(struct platform_device *pdev, int is_primary) |
458 | { | 458 | { |
459 | int len; | 459 | int len; |
460 | struct pci_controller *hose; | 460 | struct pci_controller *hose; |
@@ -1035,6 +1035,7 @@ static const struct of_device_id pci_ids[] = { | |||
1035 | { .compatible = "fsl,mpc8548-pcie", }, | 1035 | { .compatible = "fsl,mpc8548-pcie", }, |
1036 | { .compatible = "fsl,mpc8610-pci", }, | 1036 | { .compatible = "fsl,mpc8610-pci", }, |
1037 | { .compatible = "fsl,mpc8641-pcie", }, | 1037 | { .compatible = "fsl,mpc8641-pcie", }, |
1038 | { .compatible = "fsl,qoriq-pcie", }, | ||
1038 | { .compatible = "fsl,qoriq-pcie-v2.1", }, | 1039 | { .compatible = "fsl,qoriq-pcie-v2.1", }, |
1039 | { .compatible = "fsl,qoriq-pcie-v2.2", }, | 1040 | { .compatible = "fsl,qoriq-pcie-v2.2", }, |
1040 | { .compatible = "fsl,qoriq-pcie-v2.3", }, | 1041 | { .compatible = "fsl,qoriq-pcie-v2.3", }, |