From f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 31 Jan 2024 01:04:47 +0000
Subject: [PATCH] add driver 5G
---
kernel/arch/arm/include/asm/dma-iommu.h | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/kernel/arch/arm/include/asm/dma-iommu.h b/kernel/arch/arm/include/asm/dma-iommu.h
index 6821f12..fe9ef6f 100644
--- a/kernel/arch/arm/include/asm/dma-iommu.h
+++ b/kernel/arch/arm/include/asm/dma-iommu.h
@@ -6,10 +6,7 @@
#include <linux/mm_types.h>
#include <linux/scatterlist.h>
-#include <linux/dma-debug.h>
#include <linux/kref.h>
-
-#define ARM_MAPPING_ERROR (~(dma_addr_t)0x0)
struct dma_iommu_mapping {
/* iommu specific data */
@@ -34,8 +31,6 @@
int arm_iommu_attach_device(struct device *dev,
struct dma_iommu_mapping *mapping);
void arm_iommu_detach_device(struct device *dev);
-
-int arm_dma_supported(struct device *dev, u64 mask);
#endif /* __KERNEL__ */
#endif
--
Gitblit v1.6.2