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:
Ashish Kumar Dhanotiya
2019-03-01 20:40:22 +05:30
committad av nshrivas
förälder f1a8f5fbb3
incheckning affc485658

Visa fil

@@ -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