diff options
author | Gu Zheng <guz.fnst@cn.fujitsu.com> | 2014-09-03 05:49:10 -0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-11-28 22:59:50 -0500 |
commit | c30e1f790b0e48669cdc09d469a3f31369790d3b (patch) | |
tree | 8310b1581b787b38ef015d4fc308bbd1e7f7d3d9 | |
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>
-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) | |||
485 | } | 485 | } |
486 | 486 | ||
487 | /** | 487 | /** |
488 | * nand_block_checkbad - [GENERIC] Check if a block is marked bad | 488 | * nand_block_isreserved - [GENERIC] Check if a block is marked reserved. |
489 | * @mtd: MTD device structure | 489 | * @mtd: MTD device structure |
490 | * @ofs: offset from device start | 490 | * @ofs: offset from device start |
491 | * | 491 | * |
492 | * Check if the block is mark as reserved. | 492 | * Check if the block is marked as reserved. |
493 | */ | 493 | */ |
494 | static int nand_block_isreserved(struct mtd_info *mtd, loff_t ofs) | 494 | static int nand_block_isreserved(struct mtd_info *mtd, loff_t ofs) |
495 | { | 495 | { |