diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-16 10:53:17 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-20 13:25:59 -0400 |
commit | 766381f049100db0763e1a930a7b9d16632aa49c (patch) | |
tree | a60afdf37d931d7ed4d9d10fe376a8e3a0567722 /drivers/mtd/ubi/debug.h | |
parent | 4415626732defb5a4567a0a757c7c5baae7ca846 (diff) |
UBI: rename ubi_dbg_dump_vol_info
I am going to remove the "UBI debugging" compilation option and make the
debugging stuff to be always compiled it. This patch is a preparation
which renames 'ubi_dbg_dump_vol_info()' to 'ubi_dump_vol_info()'.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/debug.h')
-rw-r--r-- | drivers/mtd/ubi/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/debug.h b/drivers/mtd/ubi/debug.h index b8672c947bb5..ca36f2db2b0e 100644 --- a/drivers/mtd/ubi/debug.h +++ b/drivers/mtd/ubi/debug.h | |||
@@ -60,7 +60,7 @@ void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr); | |||
60 | /* Initialization and build messages */ | 60 | /* Initialization and build messages */ |
61 | #define dbg_bld(fmt, ...) ubi_dbg_msg("bld", fmt, ##__VA_ARGS__) | 61 | #define dbg_bld(fmt, ...) ubi_dbg_msg("bld", fmt, ##__VA_ARGS__) |
62 | 62 | ||
63 | void ubi_dbg_dump_vol_info(const struct ubi_volume *vol); | 63 | void ubi_dump_vol_info(const struct ubi_volume *vol); |
64 | void ubi_dbg_dump_vtbl_record(const struct ubi_vtbl_record *r, int idx); | 64 | void ubi_dbg_dump_vtbl_record(const struct ubi_vtbl_record *r, int idx); |
65 | void ubi_dbg_dump_sv(const struct ubi_scan_volume *sv); | 65 | void ubi_dbg_dump_sv(const struct ubi_scan_volume *sv); |
66 | void ubi_dbg_dump_seb(const struct ubi_scan_leb *seb, int type); | 66 | void ubi_dbg_dump_seb(const struct ubi_scan_leb *seb, int type); |
@@ -194,7 +194,7 @@ static inline int ubi_dbg_is_erase_failure(const struct ubi_device *ubi) | |||
194 | #define dbg_bld(fmt, ...) ubi_dbg_msg(fmt, ##__VA_ARGS__) | 194 | #define dbg_bld(fmt, ...) ubi_dbg_msg(fmt, ##__VA_ARGS__) |
195 | 195 | ||
196 | static inline void | 196 | static inline void |
197 | ubi_dbg_dump_vol_info(const struct ubi_volume *vol) { return; } | 197 | ubi_dump_vol_info(const struct ubi_volume *vol) { return; } |
198 | static inline void | 198 | static inline void |
199 | ubi_dbg_dump_vtbl_record(const struct ubi_vtbl_record *r, int idx) { return; } | 199 | ubi_dbg_dump_vtbl_record(const struct ubi_vtbl_record *r, int idx) { return; } |
200 | static inline void ubi_dbg_dump_sv(const struct ubi_scan_volume *sv) { return; } | 200 | static inline void ubi_dbg_dump_sv(const struct ubi_scan_volume *sv) { return; } |