From 1d97e0c08005f25ce77c93d5fa3c7d05eb264b73 Mon Sep 17 00:00:00 2001 From: Saket Jha Date: Tue, 27 Aug 2019 10:40:00 -0700 Subject: [PATCH] qcacmn: Featurize legacy Helium DP Memory optimization of legacy Helium DP (ol_*.*,htt_*.*) Change-Id: Ie00c59d95e90efdf585a05962a073f688dcb2a2a CRs-Fixed: 2508727 --- dp/inc/cdp_txrx_cmn_reg.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dp/inc/cdp_txrx_cmn_reg.h b/dp/inc/cdp_txrx_cmn_reg.h index 97dbf8a8858d..372c14329a1f 100644 --- a/dp/inc/cdp_txrx_cmn_reg.h +++ b/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