1 #ifndef WIL_DBG_HEXDUMP_H_
2 #define WIL_DBG_HEXDUMP_H_
4 #include <linux/printk.h>
5 #include <linux/dynamic_debug.h>
7 #if defined(CONFIG_DYNAMIC_DEBUG)
8 #define wil_print_hex_dump_debug(prefix_str, prefix_type, rowsize, \
9 groupsize, buf, len, ascii) \
10 dynamic_hex_dump(prefix_str, prefix_type, rowsize, \
11 groupsize, buf, len, ascii)
13 #else /* defined(CONFIG_DYNAMIC_DEBUG) */
14 #define wil_print_hex_dump_debug(prefix_str, prefix_type, rowsize, \
15 groupsize, buf, len, ascii) \
16 print_hex_dump(KERN_DEBUG, prefix_str, prefix_type, rowsize, \
17 groupsize, buf, len, ascii)
18 #endif /* defined(CONFIG_DYNAMIC_DEBUG) */
20 #endif /* WIL_DBG_HEXDUMP_H_ */