Commit 17c1d2be authored by Alexey Korolev's avatar Alexey Korolev Committed by David Woodhouse

[MTD] [NAND] Fix missing kernel-doc

[Reported by Randy Dunlap]
Signed-off-by: default avatarAlexey Korolev <akorolev@infradead.org>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 1077be58
...@@ -801,9 +801,9 @@ static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, ...@@ -801,9 +801,9 @@ static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
* nand_read_subpage - [REPLACABLE] software ecc based sub-page read function * nand_read_subpage - [REPLACABLE] software ecc based sub-page read function
* @mtd: mtd info structure * @mtd: mtd info structure
* @chip: nand chip info structure * @chip: nand chip info structure
* @dataofs offset of requested data within the page * @data_offs: offset of requested data within the page
* @readlen data length * @readlen: data length
* @buf: buffer to store read data * @bufpoi: buffer to store read data
*/ */
static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi) static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi)
{ {
......
...@@ -150,8 +150,8 @@ static const char addressbits[256] = { ...@@ -150,8 +150,8 @@ static const char addressbits[256] = {
/** /**
* nand_calculate_ecc - [NAND Interface] Calculate 3-byte ECC for 256-byte block * nand_calculate_ecc - [NAND Interface] Calculate 3-byte ECC for 256-byte block
* @mtd: MTD block structure (unused) * @mtd: MTD block structure (unused)
* @dat: raw data * @buf: input buffer with raw data
* @ecc_code: buffer for ECC * @code: output buffer with ECC
*/ */
int nand_calculate_ecc(struct mtd_info *mtd, const unsigned char *buf, int nand_calculate_ecc(struct mtd_info *mtd, const unsigned char *buf,
unsigned char *code) unsigned char *code)
...@@ -390,7 +390,7 @@ EXPORT_SYMBOL(nand_calculate_ecc); ...@@ -390,7 +390,7 @@ EXPORT_SYMBOL(nand_calculate_ecc);
/** /**
* nand_correct_data - [NAND Interface] Detect and correct bit error(s) * nand_correct_data - [NAND Interface] Detect and correct bit error(s)
* @mtd: MTD block structure (unused) * @mtd: MTD block structure (unused)
* @dat: raw data read from the chip * @buf: raw data read from the chip
* @read_ecc: ECC from the chip * @read_ecc: ECC from the chip
* @calc_ecc: the ECC calculated from raw data * @calc_ecc: the ECC calculated from raw data
* *
......
...@@ -248,6 +248,7 @@ struct nand_hw_control { ...@@ -248,6 +248,7 @@ struct nand_hw_control {
* @read_page_raw: function to read a raw page without ECC * @read_page_raw: function to read a raw page without ECC
* @write_page_raw: function to write a raw page without ECC * @write_page_raw: function to write a raw page without ECC
* @read_page: function to read a page according to the ecc generator requirements * @read_page: function to read a page according to the ecc generator requirements
* @read_subpage: function to read parts of the page covered by ECC.
* @write_page: function to write a page according to the ecc generator requirements * @write_page: function to write a page according to the ecc generator requirements
* @read_oob: function to read chip OOB data * @read_oob: function to read chip OOB data
* @write_oob: function to write chip OOB data * @write_oob: function to write chip OOB data
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment