mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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:
parent
4140c76598
commit
5a0a7073fd
2 changed files with 15 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue