qcacmn: Limiting a function declaration within CONFIG_MCL

Function dbglog_set_log_lvl needs to be commented out for WIN compilation
since enum DBG_LOG_LVL is not converged. Functions nl_srv_bcast and
nl_srv_is_initialized needs to be exported out for pushing FW Diag Log
events to user-space (cnss-diag)

CRs-Fixed: 2048651
Change-Id: I57a4bd3d78680b97bd75191ca58349abeb77240a
This commit is contained in:
Adil Saeed Musthafa
2017-05-17 18:45:42 -07:00
committed by snandini
parent 4140c76598
commit 5a0a7073fd
2 changed files with 15 additions and 1 deletions

View File

@@ -116,6 +116,12 @@ dbglog_set_timestamp_resolution(wmi_unified_t wmi_handle,
int
dbglog_report_enable(wmi_unified_t wmi_handle, A_BOOL isenable);
#ifdef CONFIG_MCL
/*
* enum DBGLOG_LOG_LVL is not converged between WIN and MCL.
* So this function declaration needs to be disabled from WIN side.
*/
/** Set the log level
* @brief DBGLOG_INFO - Information lowest log level
* @brief DBGLOG_WARNING
@@ -123,6 +129,7 @@ dbglog_report_enable(wmi_unified_t wmi_handle, A_BOOL isenable);
*/
int
dbglog_set_log_lvl(wmi_unified_t wmi_handle, enum DBGLOG_LOG_LVL log_lvl);
#endif
/*
* set the debug log level for a given module