浏览代码

qcacmn: Featurize legacy Helium DP

Memory optimization of legacy Helium DP (ol_*.*,htt_*.*)

Change-Id: Ie00c59d95e90efdf585a05962a073f688dcb2a2a
CRs-Fixed: 2508727
Saket Jha 5 年之前
父节点
当前提交
1d97e0c080
共有 1 个文件被更改,包括 10 次插入1 次删除
  1. 10 1
      dp/inc/cdp_txrx_cmn_reg.h

+ 10 - 1
dp/inc/cdp_txrx_cmn_reg.h

@@ -30,7 +30,16 @@
 #define LITHIUM_DP		0xfffd/*FIXME Add Litium device ID */
 /* Use these device IDs for attach in future */
 
-ol_txrx_soc_handle ol_txrx_soc_attach(void *scn_handle, struct ol_if_ops *dp_ol_if_ops);
+#if defined(DP_TXRX_SOC_ATTACH)
+static inline ol_txrx_soc_handle
+ol_txrx_soc_attach(void *scn_handle, struct ol_if_ops *dp_ol_if_ops)
+{
+	return NULL;
+}
+#else
+ol_txrx_soc_handle
+ol_txrx_soc_attach(void *scn_handle, struct ol_if_ops *dp_ol_if_ops);
+#endif
 
 /**
  * dp_soc_attach_wifi3() - Attach txrx SOC