فهرست منبع

Merge "msm: camera: smmu: Update header include for SMMU API's" into camera-kernel.lnx.5.0

Savita Patted 4 سال پیش
والد
کامیت
3ee126894b
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      drivers/cam_utils/cam_compat.h

+ 6 - 0
drivers/cam_utils/cam_compat.h

@@ -35,6 +35,12 @@
 
 
 #endif
 #endif
 
 
+#if KERNEL_VERSION(5, 10, 0) <= LINUX_VERSION_CODE
+
+#include <linux/qcom-dma-mapping.h>
+
+#endif
+
 struct cam_fw_alloc_info {
 struct cam_fw_alloc_info {
 	struct device *fw_dev;
 	struct device *fw_dev;
 	void          *fw_kva;
 	void          *fw_kva;