diff options
Diffstat (limited to 'drivers/mtd/ubi/debug.h')
-rw-r--r-- | drivers/mtd/ubi/debug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/debug.h b/drivers/mtd/ubi/debug.h index a4da7a09b949..f30bcb372c05 100644 --- a/drivers/mtd/ubi/debug.h +++ b/drivers/mtd/ubi/debug.h | |||
@@ -55,6 +55,7 @@ void ubi_dbg_dump_vtbl_record(const struct ubi_vtbl_record *r, int idx); | |||
55 | void ubi_dbg_dump_sv(const struct ubi_scan_volume *sv); | 55 | void ubi_dbg_dump_sv(const struct ubi_scan_volume *sv); |
56 | void ubi_dbg_dump_seb(const struct ubi_scan_leb *seb, int type); | 56 | 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 | 59 | ||
59 | #ifdef CONFIG_MTD_UBI_DEBUG_MSG | 60 | #ifdef CONFIG_MTD_UBI_DEBUG_MSG |
60 | /* General debugging messages */ | 61 | /* General debugging messages */ |
@@ -167,6 +168,7 @@ static inline int ubi_dbg_is_erase_failure(void) | |||
167 | #define ubi_dbg_dump_sv(sv) ({}) | 168 | #define ubi_dbg_dump_sv(sv) ({}) |
168 | #define ubi_dbg_dump_seb(seb, type) ({}) | 169 | #define ubi_dbg_dump_seb(seb, type) ({}) |
169 | #define ubi_dbg_dump_mkvol_req(req) ({}) | 170 | #define ubi_dbg_dump_mkvol_req(req) ({}) |
171 | #define ubi_dbg_dump_flash(ubi, pnum, offset, len) ({}) | ||
170 | 172 | ||
171 | #define UBI_IO_DEBUG 0 | 173 | #define UBI_IO_DEBUG 0 |
172 | #define DBG_DISABLE_BGT 0 | 174 | #define DBG_DISABLE_BGT 0 |