mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacmn: Move print_to_console api under correct feature flag
Currently print_to_console api is defined based on CONFIG_MCL feature flag and MCL is not using it, move this api under WIN specific feature flag QDF_TRACE_PRINT_ENABLE. Change-Id: I2af2e21eb1cde395568cc1879a2df8c65e56a275 CRs-fixed: 2425040
This commit is contained in:
parent
f1a8f5fbb3
commit
affc485658
1 changed files with 4 additions and 3 deletions
|
|
@ -2930,13 +2930,14 @@ void qdf_trace_display(void)
|
|||
}
|
||||
qdf_export_symbol(qdf_trace_display);
|
||||
|
||||
#ifdef CONFIG_MCL
|
||||
#define print_to_console(str)
|
||||
#else
|
||||
#ifdef QDF_TRACE_PRINT_ENABLE
|
||||
static inline void print_to_console(char *str_buffer)
|
||||
{
|
||||
pr_err("%s\n", str_buffer);
|
||||
}
|
||||
#else
|
||||
|
||||
#define print_to_console(str)
|
||||
#endif
|
||||
|
||||
#ifdef MULTI_IF_NAME
|
||||
|
|
|
|||
Loading…
Reference in a new issue