summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdchar.c
diff options
context:
space:
mode:
authorBrian Norris2011-07-20 18:53:42 +0200
committerArtem Bityutskiy2011-09-11 14:02:16 +0200
commit92394b5c2be774425f255b5c7afbd8b19978fe12 (patch)
treea6d03ba50ee1530676d744b1571fe24f2aabf9cf /drivers/mtd/mtdchar.c
parentmtd: use MTD_NAND_OMAP2 for OMAP4 (diff)
downloadkernel-qcow2-linux-92394b5c2be774425f255b5c7afbd8b19978fe12.tar.gz
kernel-qcow2-linux-92394b5c2be774425f255b5c7afbd8b19978fe12.tar.xz
kernel-qcow2-linux-92394b5c2be774425f255b5c7afbd8b19978fe12.zip
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;
/*
* Data structure to hold the pointer to the mtd device as well
- * as mode information ofr various use cases.
+ * as mode information of various use cases.
*/
struct mtd_file_info {
struct mtd_info *mtd;
@@ -495,7 +495,7 @@ static int mtd_do_readoob(struct mtd_info *mtd, uint64_t start,
/*
* Copies (and truncates, if necessary) data from the larger struct,
* nand_ecclayout, to the smaller, deprecated layout struct,
- * nand_ecclayout_user. This is necessary only to suppport the deprecated
+ * nand_ecclayout_user. This is necessary only to support the deprecated
* API ioctl ECCGETLAYOUT while allowing all new functionality to use
* nand_ecclayout flexibly (i.e. the struct may change size in new
* releases without requiring major rewrites).