This fixes the build due to there now being two copies of print_hex_dump_bytes in the tree. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
21 lines
670 B
C
21 lines
670 B
C
#ifndef WIL_DBG_HEXDUMP_H_
|
|
#define WIL_DBG_HEXDUMP_H_
|
|
|
|
#include <linux/printk.h>
|
|
#include <linux/dynamic_debug.h>
|
|
|
|
#if defined(CONFIG_DYNAMIC_DEBUG)
|
|
#define wil_print_hex_dump_debug(prefix_str, prefix_type, rowsize, \
|
|
groupsize, buf, len, ascii) \
|
|
dynamic_hex_dump(prefix_str, prefix_type, rowsize, \
|
|
groupsize, buf, len, ascii)
|
|
|
|
#else /* defined(CONFIG_DYNAMIC_DEBUG) */
|
|
#define wil_print_hex_dump_debug(prefix_str, prefix_type, rowsize, \
|
|
groupsize, buf, len, ascii) \
|
|
print_hex_dump(KERN_DEBUG, prefix_str, prefix_type, rowsize, \
|
|
groupsize, buf, len, ascii)
|
|
#endif /* defined(CONFIG_DYNAMIC_DEBUG) */
|
|
|
|
#endif /* WIL_DBG_HEXDUMP_H_ */
|