diff options
Diffstat (limited to 'include/linux/mtd/mtd.h')
| -rw-r--r-- | include/linux/mtd/mtd.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index 4ed40caff4e5..922636548558 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h | |||
| @@ -272,7 +272,11 @@ static inline void mtd_erase_callback(struct erase_info *instr) | |||
| 272 | printk(KERN_INFO args); \ | 272 | printk(KERN_INFO args); \ |
| 273 | } while(0) | 273 | } while(0) |
| 274 | #else /* CONFIG_MTD_DEBUG */ | 274 | #else /* CONFIG_MTD_DEBUG */ |
| 275 | #define DEBUG(n, args...) do { } while(0) | 275 | #define DEBUG(n, args...) \ |
| 276 | do { \ | ||
| 277 | if (0) \ | ||
| 278 | printk(KERN_INFO args); \ | ||
| 279 | } while(0) | ||
| 276 | 280 | ||
| 277 | #endif /* CONFIG_MTD_DEBUG */ | 281 | #endif /* CONFIG_MTD_DEBUG */ |
| 278 | 282 | ||
