hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/include/asm/dma-iommu.h
....@@ -6,10 +6,7 @@
66
77 #include <linux/mm_types.h>
88 #include <linux/scatterlist.h>
9
-#include <linux/dma-debug.h>
109 #include <linux/kref.h>
11
-
12
-#define ARM_MAPPING_ERROR (~(dma_addr_t)0x0)
1310
1411 struct dma_iommu_mapping {
1512 /* iommu specific data */
....@@ -34,8 +31,6 @@
3431 int arm_iommu_attach_device(struct device *dev,
3532 struct dma_iommu_mapping *mapping);
3633 void arm_iommu_detach_device(struct device *dev);
37
-
38
-int arm_dma_supported(struct device *dev, u64 mask);
3934
4035 #endif /* __KERNEL__ */
4136 #endif