diff options
author | Andrew F. Davis <afd@ti.com> | 2017-01-05 15:44:49 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-03-24 10:33:32 -0400 |
commit | 2fae13124faadf08e597924b7d0e6c8a9a12681e (patch) | |
tree | 9dfbd8821b85a79ba8b233d71eaf783260a3f469 | |
parent | 12f54139d83250fe46e8cb5399ad16804c7aaf1e (diff) |
UBI: Fix typos
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | drivers/mtd/ubi/Kconfig | 2 | ||||
-rw-r--r-- | drivers/mtd/ubi/io.c | 2 | ||||
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/drivers/mtd/ubi/Kconfig b/drivers/mtd/ubi/Kconfig index f0855ce08ed9..43d131f5ae10 100644 --- a/drivers/mtd/ubi/Kconfig +++ b/drivers/mtd/ubi/Kconfig | |||
@@ -2,7 +2,7 @@ menuconfig MTD_UBI | |||
2 | tristate "Enable UBI - Unsorted block images" | 2 | tristate "Enable UBI - Unsorted block images" |
3 | select CRC32 | 3 | select CRC32 |
4 | help | 4 | help |
5 | UBI is a software layer above MTD layer which admits of LVM-like | 5 | UBI is a software layer above MTD layer which admits use of LVM-like |
6 | logical volumes on top of MTD devices, hides some complexities of | 6 | logical volumes on top of MTD devices, hides some complexities of |
7 | flash chips like wear and bad blocks and provides some other useful | 7 | flash chips like wear and bad blocks and provides some other useful |
8 | capabilities. Please, consult the MTD web site for more details | 8 | capabilities. Please, consult the MTD web site for more details |
diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c index b6fb8f945c21..8290432017ce 100644 --- a/drivers/mtd/ubi/io.c +++ b/drivers/mtd/ubi/io.c | |||
@@ -45,7 +45,7 @@ | |||
45 | * About minimal I/O units. In general, UBI assumes flash device model where | 45 | * About minimal I/O units. In general, UBI assumes flash device model where |
46 | * there is only one minimal I/O unit size. E.g., in case of NOR flash it is 1, | 46 | * there is only one minimal I/O unit size. E.g., in case of NOR flash it is 1, |
47 | * in case of NAND flash it is a NAND page, etc. This is reported by MTD in the | 47 | * in case of NAND flash it is a NAND page, etc. This is reported by MTD in the |
48 | * @ubi->mtd->writesize field. But as an exception, UBI admits of using another | 48 | * @ubi->mtd->writesize field. But as an exception, UBI admits use of another |
49 | * (smaller) minimal I/O unit size for EC and VID headers to make it possible | 49 | * (smaller) minimal I/O unit size for EC and VID headers to make it possible |
50 | * to do different optimizations. | 50 | * to do different optimizations. |
51 | * | 51 | * |
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index 697dbcba7371..5fe62653995e 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h | |||
@@ -544,8 +544,7 @@ struct ubi_debug_info { | |||
544 | * @vid_hdr_aloffset: starting offset of the VID header aligned to | 544 | * @vid_hdr_aloffset: starting offset of the VID header aligned to |
545 | * @hdrs_min_io_size | 545 | * @hdrs_min_io_size |
546 | * @vid_hdr_shift: contains @vid_hdr_offset - @vid_hdr_aloffset | 546 | * @vid_hdr_shift: contains @vid_hdr_offset - @vid_hdr_aloffset |
547 | * @bad_allowed: whether the MTD device admits of bad physical eraseblocks or | 547 | * @bad_allowed: whether the MTD device admits bad physical eraseblocks or not |
548 | * not | ||
549 | * @nor_flash: non-zero if working on top of NOR flash | 548 | * @nor_flash: non-zero if working on top of NOR flash |
550 | * @max_write_size: maximum amount of bytes the underlying flash can write at a | 549 | * @max_write_size: maximum amount of bytes the underlying flash can write at a |
551 | * time (MTD write buffer size) | 550 | * time (MTD write buffer size) |