diff options
Diffstat (limited to 'drivers/mtd/ubi/debug.h')
-rw-r--r-- | drivers/mtd/ubi/debug.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/debug.h b/drivers/mtd/ubi/debug.h index 17a107129726..9eca95074bc2 100644 --- a/drivers/mtd/ubi/debug.h +++ b/drivers/mtd/ubi/debug.h | |||
@@ -57,6 +57,9 @@ void ubi_dbg_dump_seb(const struct ubi_scan_leb *seb, int type); | |||
57 | void ubi_dbg_dump_mkvol_req(const struct ubi_mkvol_req *req); | 57 | void ubi_dbg_dump_mkvol_req(const struct ubi_mkvol_req *req); |
58 | void ubi_dbg_dump_flash(struct ubi_device *ubi, int pnum, int offset, int len); | 58 | void ubi_dbg_dump_flash(struct ubi_device *ubi, int pnum, int offset, int len); |
59 | 59 | ||
60 | #define ubi_dbg_print_hex_dump(l, ps, pt, r, g, b, len, a) \ | ||
61 | print_hex_dump(l, ps, pt, r, g, b, len, a) | ||
62 | |||
60 | #ifdef CONFIG_MTD_UBI_DEBUG_MSG | 63 | #ifdef CONFIG_MTD_UBI_DEBUG_MSG |
61 | /* General debugging messages */ | 64 | /* General debugging messages */ |
62 | #define dbg_gen(fmt, ...) dbg_msg(fmt, ##__VA_ARGS__) | 65 | #define dbg_gen(fmt, ...) dbg_msg(fmt, ##__VA_ARGS__) |
@@ -172,6 +175,7 @@ static inline int ubi_dbg_is_erase_failure(void) | |||
172 | #define ubi_dbg_dump_seb(seb, type) ({}) | 175 | #define ubi_dbg_dump_seb(seb, type) ({}) |
173 | #define ubi_dbg_dump_mkvol_req(req) ({}) | 176 | #define ubi_dbg_dump_mkvol_req(req) ({}) |
174 | #define ubi_dbg_dump_flash(ubi, pnum, offset, len) ({}) | 177 | #define ubi_dbg_dump_flash(ubi, pnum, offset, len) ({}) |
178 | #define ubi_dbg_print_hex_dump(l, ps, pt, r, g, b, len, a) ({}) | ||
175 | 179 | ||
176 | #define UBI_IO_DEBUG 0 | 180 | #define UBI_IO_DEBUG 0 |
177 | #define DBG_DISABLE_BGT 0 | 181 | #define DBG_DISABLE_BGT 0 |