Procházet zdrojové kódy

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 před 5 roky
rodič
revize
c2fc9f7ba9
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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