diff options
Diffstat (limited to 'include/linux/mtd/nand.h')
-rw-r--r-- | include/linux/mtd/nand.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index c7113a9cd66d..0b3d464cba13 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h | |||
@@ -341,6 +341,7 @@ struct nand_hw_control { | |||
341 | * @write_page: function to write a page according to the ECC generator | 341 | * @write_page: function to write a page according to the ECC generator |
342 | * requirements. | 342 | * requirements. |
343 | * @write_oob_raw: function to write chip OOB data without ECC | 343 | * @write_oob_raw: function to write chip OOB data without ECC |
344 | * @read_oob_raw: function to read chip OOB data without ECC | ||
344 | * @read_oob: function to read chip OOB data | 345 | * @read_oob: function to read chip OOB data |
345 | * @write_oob: function to write chip OOB data | 346 | * @write_oob: function to write chip OOB data |
346 | */ | 347 | */ |
@@ -371,6 +372,8 @@ struct nand_ecc_ctrl { | |||
371 | const uint8_t *buf); | 372 | const uint8_t *buf); |
372 | int (*write_oob_raw)(struct mtd_info *mtd, struct nand_chip *chip, | 373 | int (*write_oob_raw)(struct mtd_info *mtd, struct nand_chip *chip, |
373 | int page); | 374 | int page); |
375 | int (*read_oob_raw)(struct mtd_info *mtd, struct nand_chip *chip, | ||
376 | int page, int sndcmd); | ||
374 | int (*read_oob)(struct mtd_info *mtd, struct nand_chip *chip, int page, | 377 | int (*read_oob)(struct mtd_info *mtd, struct nand_chip *chip, int page, |
375 | int sndcmd); | 378 | int sndcmd); |
376 | int (*write_oob)(struct mtd_info *mtd, struct nand_chip *chip, | 379 | int (*write_oob)(struct mtd_info *mtd, struct nand_chip *chip, |