diff options
author | Christoph Hellwig <hch@lst.de> | 2017-12-22 12:58:24 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-01-10 18:41:14 +0300 |
commit | 2d9d6f6c9e8ae9490a8df8727f7e00310a5efb5f (patch) | |
tree | 456f9f6971b71947398fd2b399d3e2c686997674 /arch/powerpc/platforms/pseries/iommu.c | |
parent | bf15f90b07de75a0873bee7e41b138961c049137 (diff) | |
download | linux-2d9d6f6c9e8ae9490a8df8727f7e00310a5efb5f.tar.xz |
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/pseries/iommu.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/iommu.c b/arch/powerpc/platforms/pseries/iommu.c index 69921f72e2da..eaa11334fc8c 100644 --- a/arch/powerpc/platforms/pseries/iommu.c +++ b/arch/powerpc/platforms/pseries/iommu.c @@ -1231,7 +1231,7 @@ static int dma_set_mask_pSeriesLP(struct device *dev, u64 dma_mask) if (dma_offset != 0) { dev_info(dev, "Using 64-bit direct DMA at offset %llx\n", dma_offset); set_dma_offset(dev, dma_offset); - set_dma_ops(dev, &dma_direct_ops); + set_dma_ops(dev, &dma_nommu_ops); ddw_enabled = true; } } |