[PATCH] MTD: fix kernel-doc warnings

From: Randy Dunlap
Date: Sun Oct 22 2006 - 22:30:56 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Fix MTD kernel-doc warnings:
Warning(/var/linsrc/linux-2619-rc2g7//include/linux/mtd/nand.h:416): No description found for parameter 'write_page'
Warning(/var/linsrc/linux-2619-rc2g7//drivers/mtd/nand/nand_base.c:1485): No description found for parameter 'raw'

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
---
drivers/mtd/nand/nand_base.c | 1 +
include/linux/mtd/nand.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)

--- linux-2619-rc2g7.orig/drivers/mtd/nand/nand_base.c
+++ linux-2619-rc2g7/drivers/mtd/nand/nand_base.c
@@ -1479,6 +1479,7 @@ static void nand_write_page_syndrome(str
* @buf: the data to write
* @page: page number to write
* @cached: cached programming
+ * @raw: use raw write mode
*/
static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
const uint8_t *buf, int page, int cached, int raw)
--- linux-2619-rc2g7.orig/include/linux/mtd/nand.h
+++ linux-2619-rc2g7/include/linux/mtd/nand.h
@@ -355,7 +355,7 @@ struct nand_buffers {
* @priv: [OPTIONAL] pointer to private chip date
* @errstat: [OPTIONAL] hardware specific function to perform additional error status checks
* (determine if errors are correctable)
- * @write_page [REPLACEABLE] High-level page write function
+ * @write_page: [REPLACEABLE] High-level page write function
*/

struct nand_chip {


---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/