forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/arm/include/asm/device.h
....@@ -1,7 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Arch specific extensions to struct device
3
- *
4
- * This file is released under the GPLv2
54 */
65 #ifndef ASMARM_DEVICE_H
76 #define ASMARM_DEVICE_H
....@@ -10,14 +9,8 @@
109 #ifdef CONFIG_DMABOUNCE
1110 struct dmabounce_device_info *dmabounce;
1211 #endif
13
-#ifdef CONFIG_IOMMU_API
14
- void *iommu; /* private IOMMU data */
15
-#endif
1612 #ifdef CONFIG_ARM_DMA_USE_IOMMU
1713 struct dma_iommu_mapping *mapping;
18
-#endif
19
-#ifdef CONFIG_XEN
20
- const struct dma_map_ops *dev_dma_ops;
2114 #endif
2215 unsigned int dma_coherent:1;
2316 unsigned int dma_ops_setup:1;