提交 c30e1f79 编写于 作者: G Gu Zheng 提交者: Brian Norris

mtd: nand: correct the comment of function nand_block_isreserved()

Signed-off-by: NGu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
上级 4740f496
...@@ -485,11 +485,11 @@ static int nand_check_wp(struct mtd_info *mtd) ...@@ -485,11 +485,11 @@ static int nand_check_wp(struct mtd_info *mtd)
} }
/** /**
* nand_block_checkbad - [GENERIC] Check if a block is marked bad * nand_block_isreserved - [GENERIC] Check if a block is marked reserved.
* @mtd: MTD device structure * @mtd: MTD device structure
* @ofs: offset from device start * @ofs: offset from device start
* *
* Check if the block is mark as reserved. * Check if the block is marked as reserved.
*/ */
static int nand_block_isreserved(struct mtd_info *mtd, loff_t ofs) static int nand_block_isreserved(struct mtd_info *mtd, loff_t ofs)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册