diff options
author | Christoph Hellwig | 2017-12-22 10:58:24 +0100 |
---|---|---|
committer | Christoph Hellwig | 2018-01-10 16:41:14 +0100 |
commit | 2d9d6f6c9e8ae9490a8df8727f7e00310a5efb5f (patch) | |
tree | 456f9f6971b71947398fd2b399d3e2c686997674 /arch/powerpc/platforms/pasemi/iommu.c | |
parent | hexagon: use the generic dma_capable helper (diff) | |
download | kernel-qcow2-linux-2d9d6f6c9e8ae9490a8df8727f7e00310a5efb5f.tar.gz kernel-qcow2-linux-2d9d6f6c9e8ae9490a8df8727f7e00310a5efb5f.tar.xz kernel-qcow2-linux-2d9d6f6c9e8ae9490a8df8727f7e00310a5efb5f.zip |
powerpc: rename dma_direct_ to dma_nommu_
We want to use the dma_direct_ namespace for a generic implementation,
so rename powerpc to the second best choice: dma_nommu_.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/powerpc/platforms/pasemi/iommu.c')
-rw-r--r-- | arch/powerpc/platforms/pasemi/iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pasemi/iommu.c b/arch/powerpc/platforms/pasemi/iommu.c index 7fec04de27fc..78b80cbd9768 100644 --- a/arch/powerpc/platforms/pasemi/iommu.c +++ b/arch/powerpc/platforms/pasemi/iommu.c @@ -186,7 +186,7 @@ static void pci_dma_dev_setup_pasemi(struct pci_dev *dev) */ if (dev->vendor == 0x1959 && dev->device == 0xa007 && !firmware_has_feature(FW_FEATURE_LPAR)) { - dev->dev.dma_ops = &dma_direct_ops; + dev->dev.dma_ops = &dma_nommu_ops; /* * Set the coherent DMA mask to prevent the iommu * being used unnecessarily |