Skip to content

Commit

Permalink
dynamic_debug.h: Fix dynamic_dev_dbg() macro if CONFIG_DYNAMIC_DEBUG …
Browse files Browse the repository at this point in the history
…not set

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
  • Loading branch information
Philipp Reisner committed Oct 15, 2010
1 parent 2265769 commit be70e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/dynamic_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static inline int ddebug_remove_module(const char *mod)

#define dynamic_pr_debug(fmt, ...) \
do { if (0) printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__); } while (0)
#define dynamic_dev_dbg(dev, format, ...) \
#define dynamic_dev_dbg(dev, fmt, ...) \
do { if (0) dev_printk(KERN_DEBUG, dev, fmt, ##__VA_ARGS__); } while (0)
#endif

Expand Down

0 comments on commit be70e26

Please sign in to comment.