diff options
Diffstat (limited to 'drivers/mtd/ubi/debug.h')
| -rw-r--r-- | drivers/mtd/ubi/debug.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/debug.h b/drivers/mtd/ubi/debug.h index 8ea99d8c9e1f..7d8d77c31dfe 100644 --- a/drivers/mtd/ubi/debug.h +++ b/drivers/mtd/ubi/debug.h | |||
| @@ -76,21 +76,21 @@ void ubi_dbg_dump_mkvol_req(const struct ubi_mkvol_req *req); | |||
| 76 | #endif /* CONFIG_MTD_UBI_DEBUG_MSG */ | 76 | #endif /* CONFIG_MTD_UBI_DEBUG_MSG */ |
| 77 | 77 | ||
| 78 | #ifdef CONFIG_MTD_UBI_DEBUG_MSG_EBA | 78 | #ifdef CONFIG_MTD_UBI_DEBUG_MSG_EBA |
| 79 | /* Messages from the eraseblock association unit */ | 79 | /* Messages from the eraseblock association sub-system */ |
| 80 | #define dbg_eba(fmt, ...) dbg_msg(fmt, ##__VA_ARGS__) | 80 | #define dbg_eba(fmt, ...) dbg_msg(fmt, ##__VA_ARGS__) |
| 81 | #else | 81 | #else |
| 82 | #define dbg_eba(fmt, ...) ({}) | 82 | #define dbg_eba(fmt, ...) ({}) |
| 83 | #endif | 83 | #endif |
| 84 | 84 | ||
| 85 | #ifdef CONFIG_MTD_UBI_DEBUG_MSG_WL | 85 | #ifdef CONFIG_MTD_UBI_DEBUG_MSG_WL |
| 86 | /* Messages from the wear-leveling unit */ | 86 | /* Messages from the wear-leveling sub-system */ |
| 87 | #define dbg_wl(fmt, ...) dbg_msg(fmt, ##__VA_ARGS__) | 87 | #define dbg_wl(fmt, ...) dbg_msg(fmt, ##__VA_ARGS__) |
| 88 | #else | 88 | #else |
| 89 | #define dbg_wl(fmt, ...) ({}) | 89 | #define dbg_wl(fmt, ...) ({}) |
| 90 | #endif | 90 | #endif |
| 91 | 91 | ||
| 92 | #ifdef CONFIG_MTD_UBI_DEBUG_MSG_IO | 92 | #ifdef CONFIG_MTD_UBI_DEBUG_MSG_IO |
| 93 | /* Messages from the input/output unit */ | 93 | /* Messages from the input/output sub-system */ |
| 94 | #define dbg_io(fmt, ...) dbg_msg(fmt, ##__VA_ARGS__) | 94 | #define dbg_io(fmt, ...) dbg_msg(fmt, ##__VA_ARGS__) |
| 95 | #else | 95 | #else |
| 96 | #define dbg_io(fmt, ...) ({}) | 96 | #define dbg_io(fmt, ...) ({}) |
