diff options
Diffstat (limited to 'include/linux/dynamic_debug.h')
-rw-r--r-- | include/linux/dynamic_debug.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/dynamic_debug.h b/include/linux/dynamic_debug.h index 6c809440f319..4cf02ecd67de 100644 --- a/include/linux/dynamic_debug.h +++ b/include/linux/dynamic_debug.h | |||
@@ -204,6 +204,12 @@ static inline int ddebug_dyndbg_module_param_cb(char *param, char *val, | |||
204 | do { if (0) printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__); } while (0) | 204 | do { if (0) printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__); } while (0) |
205 | #define dynamic_dev_dbg(dev, fmt, ...) \ | 205 | #define dynamic_dev_dbg(dev, fmt, ...) \ |
206 | do { if (0) dev_printk(KERN_DEBUG, dev, fmt, ##__VA_ARGS__); } while (0) | 206 | do { if (0) dev_printk(KERN_DEBUG, dev, fmt, ##__VA_ARGS__); } while (0) |
207 | #define dynamic_hex_dump(prefix_str, prefix_type, rowsize, \ | ||
208 | groupsize, buf, len, ascii) \ | ||
209 | do { if (0) \ | ||
210 | print_hex_dump(KERN_DEBUG, prefix_str, prefix_type, \ | ||
211 | rowsize, groupsize, buf, len, ascii); \ | ||
212 | } while (0) | ||
207 | #endif | 213 | #endif |
208 | 214 | ||
209 | #endif | 215 | #endif |