qcacmn: make qdf_print useable without qdf_trace.h (2)
qdf_trace prototype needs to be defined as well. note: i_qdf_trace.h is still needed for qdf_print to be used, but we have removed dependencies of i_qdf_trace.h on other include files (so this is fine). Change-Id: I01052d00c1619e4847de702a687554badd47882f CRs-Fixed: 1100505
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
125692a240
commit
94f80a1b70
@@ -458,27 +458,6 @@ void qdf_dp_trace_clear_buffer(void)
|
||||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* qdf_trace_msg()- logging API
|
||||
* @module: Module identifier. A member of the QDF_MODULE_ID enumeration that
|
||||
* identifies the module issuing the trace message.
|
||||
* @level: Trace level. A member of the QDF_TRACE_LEVEL enumeration indicating
|
||||
* the severity of the condition causing the trace message to be issued.
|
||||
* More severe conditions are more likely to be logged.
|
||||
* @str_format: Format string. The message to be logged. This format string
|
||||
* contains printf-like replacement parameters, which follow this
|
||||
* parameter in the variable argument list.
|
||||
*
|
||||
* Users wishing to add tracing information to their code should use
|
||||
* QDF_TRACE. QDF_TRACE() will compile into a call to qdf_trace_msg() when
|
||||
* tracing is enabled.
|
||||
*
|
||||
* Return: nothing
|
||||
*
|
||||
*/
|
||||
void __printf(3, 4) qdf_trace_msg(QDF_MODULE_ID module, QDF_TRACE_LEVEL level,
|
||||
char *str_format, ...);
|
||||
|
||||
void qdf_trace_hex_dump(QDF_MODULE_ID module, QDF_TRACE_LEVEL level,
|
||||
void *data, int buf_len);
|
||||
|
||||
|
Reference in New Issue
Block a user