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:

committad av
nshrivas

förälder
f1a8f5fbb3
incheckning
affc485658
@@ -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
|
||||
|
Referens i nytt ärende
Block a user