소스 검색

qcacld-3.0: Fix compilation issue about wma_init_dbr_params

In "Change-Id: I2896f7704ffb809214c5b08756c4b8673307fd9e", parameter
type of hif_get_hal_handle changed from void to hif_opaque_softc,
which cause compilation failure in wma_init_dbr_params.

Change-Id: Idbb591bb1ea1507661882fe48b18eaaffcac164d
CRs-Fixed: 2504894
Wu Gao 5 년 전
부모
커밋
6c5a45bcc5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/wma/src/wma_main.c

+ 1 - 1
core/wma/src/wma_main.c

@@ -6772,7 +6772,7 @@ static void wma_populate_soc_caps(t_wma_handle *wma_handle,
 #ifdef DIRECT_BUF_RX_ENABLE
 static void wma_init_dbr_params(t_wma_handle *wma_handle)
 {
-	struct hif_softc *hif_ctx = cds_get_context(QDF_MODULE_ID_HIF);
+	struct hif_opaque_softc *hif_ctx = cds_get_context(QDF_MODULE_ID_HIF);
 	void *hal_soc;
 
 	if (!hif_ctx) {