]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - drivers/net/wireless/ath/wil6210/dbg_hexdump.h
wireless: remove conflicting version of print_hex_dump_bytes
[karo-tx-linux.git] / drivers / net / wireless / ath / wil6210 / dbg_hexdump.h
1 #ifndef WIL_DBG_HEXDUMP_H_
2 #define WIL_DBG_HEXDUMP_H_
3
4 #include <linux/printk.h>
5 #include <linux/dynamic_debug.h>
6
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)
12
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) */
19
20 #endif /* WIL_DBG_HEXDUMP_H_ */