Browse Source

qcacmn: Fix compilation issue about dbr_get_pdev_and_srng_id

There is compilation issue about dbr_get_pdev_and_srng_id on hasting
platform, fix it in this change.

Change-Id: Icd5612c31341e6a5f71c65f1ec10533c164798c3
CRs-Fixed: 2530729
Wu Gao 5 years ago
parent
commit
b63edc6a49
1 changed files with 2 additions and 2 deletions
  1. 2 2
      target_if/direct_buf_rx/src/target_if_direct_buf_rx_main.c

+ 2 - 2
target_if/direct_buf_rx/src/target_if_direct_buf_rx_main.c

@@ -935,7 +935,7 @@ static QDF_STATUS target_if_get_dbr_data(struct wlan_objmgr_pdev *pdev,
  *
  * Return : pointer to pdev
  */
-struct wlan_objmgr_pdev *
+static struct wlan_objmgr_pdev *
 dbr_get_pdev_and_srng_id(struct wlan_objmgr_psoc *psoc, uint8_t pdev_id,
 			 uint8_t *srng_id)
 {
@@ -956,7 +956,7 @@ dbr_get_pdev_and_srng_id(struct wlan_objmgr_psoc *psoc, uint8_t pdev_id,
 	return pdev;
 }
 #else
-struct wlan_objmgr_pdev *
+static struct wlan_objmgr_pdev *
 dbr_get_pdev_and_srng_id(struct wlan_objmgr_psoc *psoc, uint8_t pdev_id,
 			 uint8_t *srng_id)
 {