aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/ubi.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r--drivers/mtd/ubi/ubi.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
index 485c73f850c1..76ec79b156a1 100644
--- a/drivers/mtd/ubi/ubi.h
+++ b/drivers/mtd/ubi/ubi.h
@@ -305,9 +305,9 @@ struct ubi_wl_entry;
305 * @vtbl_slots: how many slots are available in the volume table 305 * @vtbl_slots: how many slots are available in the volume table
306 * @vtbl_size: size of the volume table in bytes 306 * @vtbl_size: size of the volume table in bytes
307 * @vtbl: in-RAM volume table copy 307 * @vtbl: in-RAM volume table copy
308 * @volumes_mutex: protects on-flash volume table and serializes volume 308 * @device_mutex: protects on-flash volume table and serializes volume
309 * changes, like creation, deletion, update, re-size, 309 * creation, deletion, update, re-size, re-name and set
310 * re-name and set property 310 * property
311 * 311 *
312 * @max_ec: current highest erase counter value 312 * @max_ec: current highest erase counter value
313 * @mean_ec: current mean erase counter value 313 * @mean_ec: current mean erase counter value
@@ -388,7 +388,7 @@ struct ubi_device {
388 int vtbl_slots; 388 int vtbl_slots;
389 int vtbl_size; 389 int vtbl_size;
390 struct ubi_vtbl_record *vtbl; 390 struct ubi_vtbl_record *vtbl;
391 struct mutex volumes_mutex; 391 struct mutex device_mutex;
392 392
393 int max_ec; 393 int max_ec;
394 /* Note, mean_ec is not updated run-time - should be fixed */ 394 /* Note, mean_ec is not updated run-time - should be fixed */