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>
This commit is contained in:
@@ -60,7 +60,7 @@ void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr);
|
||||
/* Initialization and build messages */
|
||||
#define dbg_bld(fmt, ...) ubi_dbg_msg("bld", fmt, ##__VA_ARGS__)
|
||||
|
||||
void ubi_dbg_dump_vol_info(const struct ubi_volume *vol);
|
||||
void ubi_dump_vol_info(const struct ubi_volume *vol);
|
||||
void ubi_dbg_dump_vtbl_record(const struct ubi_vtbl_record *r, int idx);
|
||||
void ubi_dbg_dump_sv(const struct ubi_scan_volume *sv);
|
||||
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)
|
||||
#define dbg_bld(fmt, ...) ubi_dbg_msg(fmt, ##__VA_ARGS__)
|
||||
|
||||
static inline void
|
||||
ubi_dbg_dump_vol_info(const struct ubi_volume *vol) { return; }
|
||||
ubi_dump_vol_info(const struct ubi_volume *vol) { return; }
|
||||
static inline void
|
||||
ubi_dbg_dump_vtbl_record(const struct ubi_vtbl_record *r, int idx) { return; }
|
||||
static inline void ubi_dbg_dump_sv(const struct ubi_scan_volume *sv) { return; }
|
||||
|
||||
Reference in New Issue
Block a user