Bläddra i källkod

Merge "video: driver: Use iommu.h instead of dma-iommu.h"

qctecmdr 2 år sedan
förälder
incheckning
d52a0b7f71
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      driver/vidc/src/msm_vidc_probe.c

+ 3 - 0
driver/vidc/src/msm_vidc_probe.c

@@ -11,7 +11,10 @@
 #include <linux/component.h>
 #include <linux/interrupt.h>
 #include <linux/iommu.h>
+#include <linux/version.h>
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 16, 0))
 #include <linux/dma-iommu.h>
+#endif
 #ifdef CONFIG_MSM_MMRM
 #include <linux/soc/qcom/msm_mmrm.h>
 #endif