aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2013-04-11 04:34:59 -0400
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:06:03 -0400
commitf968d5b347edfe461afc2e9470c96dbe5352ba92 (patch)
tree23b180eb7105f0aced3ca7c5349fb8d9b9962a58
parent71d16f79e59ade8a1de643b9d59612efb61a8864 (diff)
mtd: nand: reword nand_chip bad block interface comments
This remedies a few problems: (1) The use of "the" vs. "a" is a little confusing, IMO. (2) nand_chip.block_bad is used exclusively for checking the OOB bad block markers of a NAND. Any BBT functionality is handled in nand_bbt.c, so this description should differentiate itself from nand_bbt.c. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Huang Shijie <b32955@freescale.com>
-rw-r--r--include/linux/mtd/nand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index afaf63d95f29..16995f61223f 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -393,8 +393,8 @@ struct nand_buffers {
393 * @write_buf: [REPLACEABLE] write data from the buffer to the chip 393 * @write_buf: [REPLACEABLE] write data from the buffer to the chip
394 * @read_buf: [REPLACEABLE] read data from the chip into the buffer 394 * @read_buf: [REPLACEABLE] read data from the chip into the buffer
395 * @select_chip: [REPLACEABLE] select chip nr 395 * @select_chip: [REPLACEABLE] select chip nr
396 * @block_bad: [REPLACEABLE] check, if the block is bad 396 * @block_bad: [REPLACEABLE] check if a block is bad, using OOB markers
397 * @block_markbad: [REPLACEABLE] mark the block bad 397 * @block_markbad: [REPLACEABLE] mark a block bad
398 * @cmd_ctrl: [BOARDSPECIFIC] hardwarespecific function for controlling 398 * @cmd_ctrl: [BOARDSPECIFIC] hardwarespecific function for controlling
399 * ALE/CLE/nCE. Also used to write command and address 399 * ALE/CLE/nCE. Also used to write command and address
400 * @init_size: [BOARDSPECIFIC] hardwarespecific function for setting 400 * @init_size: [BOARDSPECIFIC] hardwarespecific function for setting