git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfashe...
[pandora-kernel.git]
/
include
/
linux
/
mtd
/
mtd.h
diff --git
a/include/linux/mtd/mtd.h
b/include/linux/mtd/mtd.h
index
4ed40ca
..
9226365
100644
(file)
--- 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)
printk(KERN_INFO args); \
} while(0)
#else /* CONFIG_MTD_DEBUG */
-#define DEBUG(n, args...) do { } while(0)
+#define DEBUG(n, args...) \
+ do { \
+ if (0) \
+ printk(KERN_INFO args); \
+ } while(0)
#endif /* CONFIG_MTD_DEBUG */