summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/debug.h
diff options
context:
space:
mode:
authorBarry Song <Barry.Song@csr.com>2011-10-24 02:40:40 -0700
committerBarry Song <Barry.Song@csr.com>2011-10-24 02:45:43 -0700
commit1e11bec9b09a28f81dd3173fec6b1c6c56b5e299 (patch)
treecddb92f82bda3a5f362bb6d9f775d25dd1205e6b /drivers/mtd/ubi/debug.h
parent2558bd99cb1426a05ac8f1c78dc9c75a83ceb4bb (diff)
parent91c2ebb90b1890abc648ba9dec5608cbc97e1cb9 (diff)
Merge branch 'l2x0' of rmk tree into prima2-l2x0
Diffstat (limited to 'drivers/mtd/ubi/debug.h')
-rw-r--r--drivers/mtd/ubi/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/debug.h b/drivers/mtd/ubi/debug.h
index 65b5b76cc37..64fbb002182 100644
--- a/drivers/mtd/ubi/debug.h
+++ b/drivers/mtd/ubi/debug.h
@@ -181,7 +181,7 @@ static inline int ubi_dbg_is_erase_failure(const struct ubi_device *ubi)
#define ubi_dbg_msg(fmt, ...) do { \
if (0) \
- pr_debug(fmt "\n", ##__VA_ARGS__); \
+ printk(KERN_DEBUG fmt "\n", ##__VA_ARGS__); \
} while (0)
#define dbg_msg(fmt, ...) ubi_dbg_msg(fmt, ##__VA_ARGS__)