aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/ubi.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-03-08 08:29:37 -0500
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-03-09 02:39:31 -0500
commit0ca39d74de8b269fb61eac11b75bd6c3fc887c28 (patch)
tree928061677e97c85acc8b4d058b20ecb604b376e3 /drivers/mtd/ubi/ubi.h
parent43b043e78b876ce27034f167897b57fd2556ad29 (diff)
UBI: rename peb_buf1 to peb_buf
Now we have only one buffer so let's rename it to just 'peb_buf1'. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r--drivers/mtd/ubi/ubi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
index cb93ad97468b..bd6120c62c55 100644
--- a/drivers/mtd/ubi/ubi.h
+++ b/drivers/mtd/ubi/ubi.h
@@ -387,8 +387,8 @@ struct ubi_wl_entry;
387 * time (MTD write buffer size) 387 * time (MTD write buffer size)
388 * @mtd: MTD device descriptor 388 * @mtd: MTD device descriptor
389 * 389 *
390 * @peb_buf1: a buffer of PEB size used for different purposes 390 * @peb_buf: a buffer of PEB size used for different purposes
391 * @buf_mutex: protects @peb_buf1 391 * @buf_mutex: protects @peb_buf
392 * @ckvol_mutex: serializes static volume checking when opening 392 * @ckvol_mutex: serializes static volume checking when opening
393 * 393 *
394 * @dbg: debugging information for this UBI device 394 * @dbg: debugging information for this UBI device
@@ -470,7 +470,7 @@ struct ubi_device {
470 int max_write_size; 470 int max_write_size;
471 struct mtd_info *mtd; 471 struct mtd_info *mtd;
472 472
473 void *peb_buf1; 473 void *peb_buf;
474 struct mutex buf_mutex; 474 struct mutex buf_mutex;
475 struct mutex ckvol_mutex; 475 struct mutex ckvol_mutex;
476 476