]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
mtd: fix nand kernel-doc warnings
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 18 Nov 2010 23:02:21 +0000 (15:02 -0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 3 Dec 2010 16:31:24 +0000 (16:31 +0000)
Warning(include/linux/mtd/nand.h:543): No description found for parameter 'badblockbits'
Warning(drivers/mtd/nand/nand_bbt.c:1101): No description found for parameter 'mtd'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_bbt.c
include/linux/mtd/nand.h

index 586b981f0e61397f08e26ee71e1d63a9c39c0068..6ebd869993aa9c976dadd1c4bb44160e9ec24843 100644 (file)
@@ -1092,7 +1092,8 @@ static void mark_bbt_region(struct mtd_info *mtd, struct nand_bbt_descr *td)
 
 /**
  * verify_bbt_descr - verify the bad block description
- * @bd:                        the table to verify
+ * @mtd:       MTD device structure
+ * @bd:                the table to verify
  *
  * This functions performs a few sanity checks on the bad block description
  * table.
index 63e17d01fde94b5be8e80646e1aee1ea11665b0e..1f489b247a2978324d65576d43323303601a5f50 100644 (file)
@@ -448,6 +448,8 @@ struct nand_buffers {
  *                     See the defines for further explanation.
  * @badblockpos:       [INTERN] position of the bad block marker in the oob
  *                     area.
+ * @badblockbits:      [INTERN] number of bits to left-shift the bad block
+ *                     number
  * @cellinfo:          [INTERN] MLC/multichip data from chip ident
  * @numchips:          [INTERN] number of physical chips
  * @chipsize:          [INTERN] the size of one chip for multichip arrays