Selaa lähdekoodia

qcacmn: Featurize legacy Helium DP

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

Change-Id: Ie00c59d95e90efdf585a05962a073f688dcb2a2a
CRs-Fixed: 2508727
Saket Jha 5 vuotta sitten
vanhempi
sitoutus
1d97e0c080
1 muutettua tiedostoa jossa 10 lisäystä ja 1 poistoa
  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