Commit be70e2671b95a8982ff133ebaafff6399ad393d4

Authored by Philipp Reisner
1 parent 2265769531

dynamic_debug.h: Fix dynamic_dev_dbg() macro if CONFIG_DYNAMIC_DEBUG not set

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

include/linux/dynamic_debug.h
... ... @@ -80,7 +80,7 @@
80 80  
81 81 #define dynamic_pr_debug(fmt, ...) \
82 82 do { if (0) printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__); } while (0)
83   -#define dynamic_dev_dbg(dev, format, ...) \
  83 +#define dynamic_dev_dbg(dev, fmt, ...) \
84 84 do { if (0) dev_printk(KERN_DEBUG, dev, fmt, ##__VA_ARGS__); } while (0)
85 85 #endif
86 86