summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-04-24 21:42:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2009-06-10 13:54:37 +0200
commit8bd42496f79ab6d86b6cbcd567599151645fe172 (patch)
tree2470889e61d0c2b8ef16c20317d9f78b4259a19a /include/linux
parent7733de908ba918ca47f13157335a100d74ba7cf1 (diff)
downloadbarebox-8bd42496f79ab6d86b6cbcd567599151645fe172.tar.gz
barebox-8bd42496f79ab6d86b6cbcd567599151645fe172.tar.xz
mtd: Replace DEBUG by MTD_DEBUG
DEBUG is already used for another purpose by U-Boot Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/mtd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 1481c4a39d..3a2a1bc299 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -243,13 +243,13 @@ static inline void mtd_erase_callback(struct erase_info *instr)
#define MTD_DEBUG_LEVEL3 (3) /* Noisy */
#ifdef CONFIG_MTD_DEBUG
-#define DEBUG(n, args...) \
+#define MTD_DEBUG(n, args...) \
do { \
if (n <= CONFIG_MTD_DEBUG_VERBOSE) \
printk(KERN_INFO args); \
} while(0)
#else /* CONFIG_MTD_DEBUG */
-#define DEBUG(n, args...) do { } while(0)
+#define MTD_DEBUG(n, args...) do { } while(0)
#endif /* CONFIG_MTD_DEBUG */