浏览代码

qcacmn: Add qdf_get_ipa_smmu_enabled stub API

Add qdf_get_ipa_smmu_enabled stub API when IPA_OFFLOAD
config flag is disabled and SMMU S1 translation config
flag is enabled to avoid compilation issue.

Change-Id: Ic7291aacf2ca0008bfe112e689fc39d14d99b16c
CRs-Fixed: 3317536
Yeshwanth Sriram Guntuka 3 年之前
父节点
当前提交
94c2176709
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      qdf/inc/qdf_ipa.h

+ 7 - 0
qdf/inc/qdf_ipa.h

@@ -712,5 +712,12 @@ static inline bool qdf_ipa_get_lan_rx_napi(void)
 	return false;
 }
 #endif /* IPA_LAN_RX_NAPI_SUPPORT */
+#else
+#ifdef ENABLE_SMMU_S1_TRANSLATION
+static inline bool qdf_get_ipa_smmu_enabled(void)
+{
+	return false;
+}
+#endif
 #endif /* IPA_OFFLOAD */
 #endif /* _QDF_IPA_H */