aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/nand.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 0f78d19303c5..13786f0ae12a 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -588,6 +588,8 @@ struct nand_chip {
588 * @chipsize: total chip size in MiB 588 * @chipsize: total chip size in MiB
589 * @erasesize: eraseblock size in bytes (determined from the extended ID if 0) 589 * @erasesize: eraseblock size in bytes (determined from the extended ID if 0)
590 * @options: stores various chip bit options 590 * @options: stores various chip bit options
591 * @id_len: The valid length of the @id.
592 * @oobsize: OOB size
591 */ 593 */
592struct nand_flash_dev { 594struct nand_flash_dev {
593 char *name; 595 char *name;
@@ -602,6 +604,8 @@ struct nand_flash_dev {
602 unsigned int chipsize; 604 unsigned int chipsize;
603 unsigned int erasesize; 605 unsigned int erasesize;
604 unsigned int options; 606 unsigned int options;
607 uint16_t id_len;
608 uint16_t oobsize;
605}; 609};
606 610
607/** 611/**