diff options
author | Jaswinder Singh Rajput <jaswinder@kernel.org> | 2009-09-24 08:04:53 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-09-24 10:46:25 -0400 |
commit | 58475fb908485ab38860d6970a8063987fe1d619 (patch) | |
tree | 6f7860b31d4e34c7c3fc7e6e175c2d018f7cd1b7 /drivers/mtd/nand | |
parent | a7c367b95a9d8e65e0f0e7da31f700a556794efb (diff) |
mtd: nand: fix htmldocs warnings
Fixed following htmldocs warnings:
DOCPROC Documentation/DocBook/mtdnand.xml
Warning(drivers/mtd/nand/nand_base.c:769): No description found for parameter 'page'
Warning(drivers/mtd/nand/nand_base.c:785): No description found for parameter 'page'
Warning(drivers/mtd/nand/nand_base.c:824): No description found for parameter 'page'
Warning(drivers/mtd/nand/nand_base.c:947): No description found for parameter 'page'
Warning(drivers/mtd/nand/nand_base.c:996): No description found for parameter 'page'
Warning(drivers/mtd/nand/nand_base.c:1040): No description found for parameter 'page'
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/nand_base.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 22113865438b..2957cc70da3d 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c | |||
@@ -761,6 +761,7 @@ static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip) | |||
761 | * @mtd: mtd info structure | 761 | * @mtd: mtd info structure |
762 | * @chip: nand chip info structure | 762 | * @chip: nand chip info structure |
763 | * @buf: buffer to store read data | 763 | * @buf: buffer to store read data |
764 | * @page: page number to read | ||
764 | * | 765 | * |
765 | * Not for syndrome calculating ecc controllers, which use a special oob layout | 766 | * Not for syndrome calculating ecc controllers, which use a special oob layout |
766 | */ | 767 | */ |
@@ -777,6 +778,7 @@ static int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, | |||
777 | * @mtd: mtd info structure | 778 | * @mtd: mtd info structure |
778 | * @chip: nand chip info structure | 779 | * @chip: nand chip info structure |
779 | * @buf: buffer to store read data | 780 | * @buf: buffer to store read data |
781 | * @page: page number to read | ||
780 | * | 782 | * |
781 | * We need a special oob layout and handling even when OOB isn't used. | 783 | * We need a special oob layout and handling even when OOB isn't used. |
782 | */ | 784 | */ |
@@ -818,6 +820,7 @@ static int nand_read_page_raw_syndrome(struct mtd_info *mtd, struct nand_chip *c | |||
818 | * @mtd: mtd info structure | 820 | * @mtd: mtd info structure |
819 | * @chip: nand chip info structure | 821 | * @chip: nand chip info structure |
820 | * @buf: buffer to store read data | 822 | * @buf: buffer to store read data |
823 | * @page: page number to read | ||
821 | */ | 824 | */ |
822 | static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, | 825 | static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, |
823 | uint8_t *buf, int page) | 826 | uint8_t *buf, int page) |
@@ -939,6 +942,7 @@ static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, uint3 | |||
939 | * @mtd: mtd info structure | 942 | * @mtd: mtd info structure |
940 | * @chip: nand chip info structure | 943 | * @chip: nand chip info structure |
941 | * @buf: buffer to store read data | 944 | * @buf: buffer to store read data |
945 | * @page: page number to read | ||
942 | * | 946 | * |
943 | * Not for syndrome calculating ecc controllers which need a special oob layout | 947 | * Not for syndrome calculating ecc controllers which need a special oob layout |
944 | */ | 948 | */ |
@@ -983,6 +987,7 @@ static int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, | |||
983 | * @mtd: mtd info structure | 987 | * @mtd: mtd info structure |
984 | * @chip: nand chip info structure | 988 | * @chip: nand chip info structure |
985 | * @buf: buffer to store read data | 989 | * @buf: buffer to store read data |
990 | * @page: page number to read | ||
986 | * | 991 | * |
987 | * Hardware ECC for large page chips, require OOB to be read first. | 992 | * Hardware ECC for large page chips, require OOB to be read first. |
988 | * For this ECC mode, the write_page method is re-used from ECC_HW. | 993 | * For this ECC mode, the write_page method is re-used from ECC_HW. |
@@ -1031,6 +1036,7 @@ static int nand_read_page_hwecc_oob_first(struct mtd_info *mtd, | |||
1031 | * @mtd: mtd info structure | 1036 | * @mtd: mtd info structure |
1032 | * @chip: nand chip info structure | 1037 | * @chip: nand chip info structure |
1033 | * @buf: buffer to store read data | 1038 | * @buf: buffer to store read data |
1039 | * @page: page number to read | ||
1034 | * | 1040 | * |
1035 | * The hw generator calculates the error syndrome automatically. Therefor | 1041 | * The hw generator calculates the error syndrome automatically. Therefor |
1036 | * we need a special oob layout and handling. | 1042 | * we need a special oob layout and handling. |