forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 10ebd8556b7990499c896a550e3d416b444211e6
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