aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/debug.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>2012-05-16 23:59:30 -0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 13:26:01 -0400
commitcb28a9322dd26cb6c29b7dda9a42626daca1024a (patch)
treeb9c3bacd8573f4eabe5257feed32d250a9feaee1 /drivers/mtd/ubi/debug.c
parent227423d2416651abeafb5fd0c88c50eb0b99cb97 (diff)
UBI: rename struct ubi_scan_volume
Rename 'struct ubi_scan_volume' to 'struct ubi_ainf_volume'. This is part of the code re-structuring I am trying to do in order to add fastmap in a more logical way. Fastmap can share a lot with scanning, including the attach-time data structures, which all now have "scan" word in the name. Let's get rid of this word and use "ainf" instead which stands for "attach information". It has the same length as "scan" so re-naming is trivial. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/debug.c')
-rw-r--r--drivers/mtd/ubi/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/debug.c b/drivers/mtd/ubi/debug.c
index a07ce2dcb968..4885fd2526bb 100644
--- a/drivers/mtd/ubi/debug.c
+++ b/drivers/mtd/ubi/debug.c
@@ -171,10 +171,10 @@ void ubi_dump_vtbl_record(const struct ubi_vtbl_record *r, int idx)
171} 171}
172 172
173/** 173/**
174 * ubi_dump_sv - dump a &struct ubi_scan_volume object. 174 * ubi_dump_sv - dump a &struct ubi_ainf_volume object.
175 * @sv: the object to dump 175 * @sv: the object to dump
176 */ 176 */
177void ubi_dump_sv(const struct ubi_scan_volume *sv) 177void ubi_dump_sv(const struct ubi_ainf_volume *sv)
178{ 178{
179 printk(KERN_DEBUG "Volume scanning information dump:\n"); 179 printk(KERN_DEBUG "Volume scanning information dump:\n");
180 printk(KERN_DEBUG "\tvol_id %d\n", sv->vol_id); 180 printk(KERN_DEBUG "\tvol_id %d\n", sv->vol_id);