kernel/arch/arm/include/asm/dma-iommu.h
.. .. @@ -6,10 +6,7 @@ 6 6 7 7 #include <linux/mm_types.h> 8 8 #include <linux/scatterlist.h> 9 -#include <linux/dma-debug.h>10 9 #include <linux/kref.h> 11 -12 -#define ARM_MAPPING_ERROR (~(dma_addr_t)0x0)13 10 14 11 struct dma_iommu_mapping { 15 12 /* iommu specific data */ .. .. @@ -34,8 +31,6 @@ 34 31 int arm_iommu_attach_device(struct device *dev, 35 32 struct dma_iommu_mapping *mapping); 36 33 void arm_iommu_detach_device(struct device *dev); 37 -38 -int arm_dma_supported(struct device *dev, u64 mask);39 34 40 35 #endif /* __KERNEL__ */ 41 36 #endif