aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/device.h')
-rw-r--r--include/linux/device.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/device.h b/include/linux/device.h
index 60f6456691a6..fb034461b395 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -550,7 +550,11 @@ extern const char *dev_driver_string(const struct device *dev);
550#define dev_info(dev, format, arg...) \ 550#define dev_info(dev, format, arg...) \
551 dev_printk(KERN_INFO , dev , format , ## arg) 551 dev_printk(KERN_INFO , dev , format , ## arg)
552 552
553#ifdef DEBUG 553#if defined(CONFIG_DYNAMIC_PRINTK_DEBUG)
554#define dev_dbg(dev, format, ...) do { \
555 dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
556 } while (0)
557#elif defined(DEBUG)
554#define dev_dbg(dev, format, arg...) \ 558#define dev_dbg(dev, format, arg...) \
555 dev_printk(KERN_DEBUG , dev , format , ## arg) 559 dev_printk(KERN_DEBUG , dev , format , ## arg)
556#else 560#else