aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdchar.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-07-20 12:53:42 -0400
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 08:02:16 -0400
commit92394b5c2be774425f255b5c7afbd8b19978fe12 (patch)
treea6d03ba50ee1530676d744b1571fe24f2aabf9cf /drivers/mtd/mtdchar.c
parent46a00d83ffb0d040f18068234e0eda8332c1e798 (diff)
mtd: spelling fixes
Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'drivers/mtd/mtdchar.c')
-rw-r--r--drivers/mtd/mtdchar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c
index 22526e98b85b..a75d55577e49 100644
--- a/drivers/mtd/mtdchar.c
+++ b/drivers/mtd/mtdchar.c
@@ -43,7 +43,7 @@ static struct vfsmount *mtd_inode_mnt __read_mostly;
43 43
44/* 44/*
45 * Data structure to hold the pointer to the mtd device as well 45 * Data structure to hold the pointer to the mtd device as well
46 * as mode information ofr various use cases. 46 * as mode information of various use cases.
47 */ 47 */
48struct mtd_file_info { 48struct mtd_file_info {
49 struct mtd_info *mtd; 49 struct mtd_info *mtd;
@@ -495,7 +495,7 @@ static int mtd_do_readoob(struct mtd_info *mtd, uint64_t start,
495/* 495/*
496 * Copies (and truncates, if necessary) data from the larger struct, 496 * Copies (and truncates, if necessary) data from the larger struct,
497 * nand_ecclayout, to the smaller, deprecated layout struct, 497 * nand_ecclayout, to the smaller, deprecated layout struct,
498 * nand_ecclayout_user. This is necessary only to suppport the deprecated 498 * nand_ecclayout_user. This is necessary only to support the deprecated
499 * API ioctl ECCGETLAYOUT while allowing all new functionality to use 499 * API ioctl ECCGETLAYOUT while allowing all new functionality to use
500 * nand_ecclayout flexibly (i.e. the struct may change size in new 500 * nand_ecclayout flexibly (i.e. the struct may change size in new
501 * releases without requiring major rewrites). 501 * releases without requiring major rewrites).