diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/pasemi/iommu.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pasemi/iommu.c b/arch/powerpc/platforms/pasemi/iommu.c index 9916a0f3e431..c5cfd4b04a83 100644 --- a/arch/powerpc/platforms/pasemi/iommu.c +++ b/arch/powerpc/platforms/pasemi/iommu.c | |||
@@ -182,8 +182,10 @@ static void pci_dma_dev_setup_pasemi(struct pci_dev *dev) | |||
182 | * CONFIG_PPC_PASEMI_IOMMU_DMA_FORCE at build time. | 182 | * CONFIG_PPC_PASEMI_IOMMU_DMA_FORCE at build time. |
183 | */ | 183 | */ |
184 | if (dev->vendor == 0x1959 && dev->device == 0xa007 && | 184 | if (dev->vendor == 0x1959 && dev->device == 0xa007 && |
185 | !firmware_has_feature(FW_FEATURE_LPAR)) | 185 | !firmware_has_feature(FW_FEATURE_LPAR)) { |
186 | dev->dev.archdata.dma_ops = &dma_direct_ops; | 186 | dev->dev.archdata.dma_ops = &dma_direct_ops; |
187 | dev->dev.archdata.dma_data = 0; | ||
188 | } | ||
187 | #endif | 189 | #endif |
188 | 190 | ||
189 | dev->dev.archdata.dma_data = &iommu_table_iobmap; | 191 | dev->dev.archdata.dma_data = &iommu_table_iobmap; |