From: Gu Zheng Date: Wed, 3 Sep 2014 09:49:10 +0000 (+0800) Subject: mtd: nand: correct the comment of function nand_block_isreserved() X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=c30e1f790b0e48669cdc09d469a3f31369790d3b;p=deliverable%2Flinux.git mtd: nand: correct the comment of function nand_block_isreserved() Signed-off-by: Gu Zheng Signed-off-by: Brian Norris --- 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) {