aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2007-02-14 19:36:39 -0500
committerDavid Woodhouse <dwmw2@infradead.org>2007-03-09 03:05:22 -0500
commite3da8067b3ef16943c02b64baa84dacca1e423be (patch)
tree22c9863d49c9d65b4f30603c33d080b63ba89caa /drivers/mtd
parent91014e9bfaaac32ab46ab46251d774468891bafe (diff)
[MTD] [OneNAND] Fix typo & wrong comments
Fix typo & wrong comments Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/onenand/onenand_base.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index 8006d51b7d27..dd8a4430f4e2 100644
--- a/drivers/mtd/onenand/onenand_base.c
+++ b/drivers/mtd/onenand/onenand_base.c
@@ -947,9 +947,9 @@ static int onenand_do_read_oob(struct mtd_info *mtd, loff_t from, size_t len,
947 947
948/** 948/**
949 * onenand_read_oob - [MTD Interface] NAND write data and/or out-of-band 949 * onenand_read_oob - [MTD Interface] NAND write data and/or out-of-band
950 * @mtd: MTD device structure 950 * @param mtd: MTD device structure
951 * @from: offset to read from 951 * @param from: offset to read from
952 * @ops: oob operation description structure 952 * @param ops: oob operation description structure
953 */ 953 */
954static int onenand_read_oob(struct mtd_info *mtd, loff_t from, 954static int onenand_read_oob(struct mtd_info *mtd, loff_t from,
955 struct mtd_oob_ops *ops) 955 struct mtd_oob_ops *ops)
@@ -1017,7 +1017,7 @@ static int onenand_bbt_wait(struct mtd_info *mtd, int state)
1017 * onenand_bbt_read_oob - [MTD Interface] OneNAND read out-of-band for bbt scan 1017 * onenand_bbt_read_oob - [MTD Interface] OneNAND read out-of-band for bbt scan
1018 * @param mtd MTD device structure 1018 * @param mtd MTD device structure
1019 * @param from offset to read from 1019 * @param from offset to read from
1020 * @param @ops oob operation description structure 1020 * @param ops oob operation description structure
1021 * 1021 *
1022 * OneNAND read out-of-band data from the spare area for bbt scan 1022 * OneNAND read out-of-band data from the spare area for bbt scan
1023 */ 1023 */
@@ -1403,9 +1403,9 @@ static int onenand_do_write_oob(struct mtd_info *mtd, loff_t to, size_t len,
1403 1403
1404/** 1404/**
1405 * onenand_write_oob - [MTD Interface] NAND write data and/or out-of-band 1405 * onenand_write_oob - [MTD Interface] NAND write data and/or out-of-band
1406 * @mtd: MTD device structure 1406 * @param mtd: MTD device structure
1407 * @from: offset to read from 1407 * @param to: offset to write
1408 * @ops: oob operation description structure 1408 * @param ops: oob operation description structure
1409 */ 1409 */
1410static int onenand_write_oob(struct mtd_info *mtd, loff_t to, 1410static int onenand_write_oob(struct mtd_info *mtd, loff_t to,
1411 struct mtd_oob_ops *ops) 1411 struct mtd_oob_ops *ops)
@@ -1619,6 +1619,7 @@ static int onenand_block_markbad(struct mtd_info *mtd, loff_t ofs)
1619 * @param mtd MTD device structure 1619 * @param mtd MTD device structure
1620 * @param ofs offset relative to mtd start 1620 * @param ofs offset relative to mtd start
1621 * @param len number of bytes to lock or unlock 1621 * @param len number of bytes to lock or unlock
1622 * @param cmd lock or unlock command
1622 * 1623 *
1623 * Lock or unlock one or more blocks 1624 * Lock or unlock one or more blocks
1624 */ 1625 */
@@ -2120,10 +2121,11 @@ static void onenand_check_features(struct mtd_info *mtd)
2120} 2121}
2121 2122
2122/** 2123/**
2123 * onenand_print_device_info - Print device ID 2124 * onenand_print_device_info - Print device & version ID
2124 * @param device device ID 2125 * @param device device ID
2126 * @param version version ID
2125 * 2127 *
2126 * Print device ID 2128 * Print device & version ID
2127 */ 2129 */
2128static void onenand_print_device_info(int device, int version) 2130static void onenand_print_device_info(int device, int version)
2129{ 2131{