summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/debug.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-04-23 10:57:25 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2008-04-23 10:57:25 +0200
commite43fe686e48835ca027559a068bbe0b6d264a254 (patch)
treedef98b52b111ba384a2fd01955465f813ca299e4 /drivers/mtd/ubi/debug.h
parent[MTD] Clean up AR7 partition map support (diff)
parentUBI: print media information earlier (diff)
downloadlinux-e43fe686e48835ca027559a068bbe0b6d264a254.tar.xz
linux-e43fe686e48835ca027559a068bbe0b6d264a254.zip
Merge git://git.infradead.org/~dedekind/ubi-2.6
Diffstat (limited to 'drivers/mtd/ubi/debug.h')
-rw-r--r--drivers/mtd/ubi/debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/debug.h b/drivers/mtd/ubi/debug.h
index 8ac7d87dc85b..8ea99d8c9e1f 100644
--- a/drivers/mtd/ubi/debug.h
+++ b/drivers/mtd/ubi/debug.h
@@ -99,8 +99,10 @@ void ubi_dbg_dump_mkvol_req(const struct ubi_mkvol_req *req);
#ifdef CONFIG_MTD_UBI_DEBUG_MSG_BLD
/* Initialization and build messages */
#define dbg_bld(fmt, ...) dbg_msg(fmt, ##__VA_ARGS__)
+#define UBI_IO_DEBUG 1
#else
#define dbg_bld(fmt, ...) ({})
+#define UBI_IO_DEBUG 0
#endif
#ifdef CONFIG_MTD_UBI_DEBUG_EMULATE_BITFLIPS