浏览代码

qcacmn: Remove unused dma-iommu.h inclusion

asm/dma-iommu.h file is removed in latest 5.4 kernel,
resulting in include failure. Remove as it is unused.

Change-Id: I9eac7bee5a9a8d5da21d15c2f7d8f3fc4fbe00df
CRs-Fixed: 2638583
Manjunathappa Prakash 5 年之前
父节点
当前提交
c2fc9f7ba9
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      qdf/linux/src/i_qdf_mem.h

+ 2 - 0
qdf/linux/src/i_qdf_mem.h

@@ -61,8 +61,10 @@
 #ifdef CONFIG_ARM_SMMU
 #include <pld_common.h>
 #ifdef ENABLE_SMMU_S1_TRANSLATION
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 0))
 #include <asm/dma-iommu.h>
 #endif
+#endif
 #include <linux/iommu.h>
 #endif