diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2014-09-03 17:49:10 +0800 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-11-28 19:59:50 -0800 |
commit | c30e1f790b0e48669cdc09d469a3f31369790d3b (patch) | |
tree | 8310b1581b787b38ef015d4fc308bbd1e7f7d3d9 /drivers | |
parent | 4740f4965298a2177d16d960e8e3cccaac256c85 (diff) |
mtd: nand: correct the comment of function nand_block_isreserved()
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/nand/nand_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 4cbd14552d48..41585dfb206f 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c @@ -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 * @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) { |