Browse Source

qcacmn: Move tcl_data_cmd function attribute to common file

Move the function attribute to common file so that the
parsing issue due to unreferenced tcl_data_cmd can be
fixed on other targets also.

Change-Id: I40a7196926061e8d232f0f070c0ed045dafd97e2
CRs-Fixed: 3228562
Amit Mehta 3 years ago
parent
commit
721afd10ab
2 changed files with 2 additions and 2 deletions
  1. 2 0
      hal/wifi3.0/hal_srng.c
  2. 0 2
      hal/wifi3.0/kiwi/hal_kiwi.c

+ 2 - 0
hal/wifi3.0/hal_srng.c

@@ -25,6 +25,8 @@
 #include "wcss_version.h"
 #include <qdf_tracepoint.h>
 
+struct tcl_data_cmd gtcl_data_symbol __attribute__((used));
+
 #ifdef QCA_WIFI_QCA8074
 void hal_qca6290_attach(struct hal_soc *hal);
 #endif

+ 0 - 2
hal/wifi3.0/kiwi/hal_kiwi.c

@@ -38,8 +38,6 @@
 
 #include <hal_be_rx.h>
 
-struct tcl_data_cmd gtcl_data_symbol __attribute__((used));
-
 #define UNIFIED_RXPCU_PPDU_END_INFO_8_RX_PPDU_DURATION_OFFSET \
 	RXPCU_PPDU_END_INFO_RX_PPDU_DURATION_OFFSET
 #define UNIFIED_RXPCU_PPDU_END_INFO_8_RX_PPDU_DURATION_MASK \