Commit c30e1f79 authored by Gu Zheng's avatar Gu Zheng Committed by Brian Norris

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

Signed-off-by: default avatarGu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment