dynamic_debug.h: Fix dynamic_dev_dbg() macro if CONFIG_DYNAMIC_DEBUG not set
authorPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 14 Oct 2010 09:58:20 +0000 (11:58 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 15 Oct 2010 08:41:31 +0000 (10:41 +0200)
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
include/linux/dynamic_debug.h

index 52c0da4bdd18fe5969fbf9c583652c0f7f00ba07..81bc20e36ec057a0a1862f63ff792e8e8c097e66 100644 (file)
@@ -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