summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/device.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-09-02 10:44:19 +0200
committerChristoph Hellwig <hch@lst.de>2019-09-11 12:43:16 +0200
commit8e23c82c68635a8859820bc6feb0fb3798aed943 (patch)
tree7e42707e498229b72b89d6f782eef6ddb7051f5e /arch/arm/include/asm/device.h
parent78406ff566ecd72021928217908ca255406bd914 (diff)
downloadlinux-next-8e23c82c68635a8859820bc6feb0fb3798aed943.tar.gz
xen/arm: use dma-noncoherent.h calls for xen-swiotlb cache maintainance
Copy the arm64 code that uses the dma-direct/swiotlb helpers for DMA on-coherent devices. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'arch/arm/include/asm/device.h')
-rw-r--r--arch/arm/include/asm/device.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/include/asm/device.h b/arch/arm/include/asm/device.h
index f6955b55c544..c675bc0d5aa8 100644
--- a/arch/arm/include/asm/device.h
+++ b/arch/arm/include/asm/device.h
@@ -15,9 +15,6 @@ struct dev_archdata {
#ifdef CONFIG_ARM_DMA_USE_IOMMU
struct dma_iommu_mapping *mapping;
#endif
-#ifdef CONFIG_XEN
- const struct dma_map_ops *dev_dma_ops;
-#endif
unsigned int dma_coherent:1;
unsigned int dma_ops_setup:1;
};