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
diff --git a/target_if/direct_buf_rx/src/target_if_direct_buf_rx_main.c b/target_if/direct_buf_rx/src/target_if_direct_buf_rx_main.c
index c2bc235..582725e 100644
--- a/target_if/direct_buf_rx/src/target_if_direct_buf_rx_main.c
+++ b/target_if/direct_buf_rx/src/target_if_direct_buf_rx_main.c
@@ -935,7 +935,7 @@
  *
  * 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 @@
 	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)
 {