aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/nand.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 13786f0ae12a..ebf970e11428 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -552,12 +552,11 @@ struct nand_chip {
552/* 552/*
553 * A helper for defining older NAND chips where the second ID byte fully 553 * A helper for defining older NAND chips where the second ID byte fully
554 * defined the chip, including the geometry (chip size, eraseblock size, page 554 * defined the chip, including the geometry (chip size, eraseblock size, page
555 * size). 555 * size). All these chips have 512 bytes NAND page size.
556 */ 556 */
557#define LEGACY_ID_NAND(nm, devid, pagesz, chipsz, erasesz, opts) \ 557#define LEGACY_ID_NAND(nm, devid, chipsz, erasesz, opts) \
558 { .name = (nm), {{ .dev_id = (devid) }}, .pagesize = (pagesz), \ 558 { .name = (nm), {{ .dev_id = (devid) }}, .pagesize = 512, \
559 .chipsize = (chipsz), .erasesize = (erasesz), \ 559 .chipsize = (chipsz), .erasesize = (erasesz), .options = (opts) }
560 .options = (opts) }
561 560
562/* 561/*
563 * A helper for defining newer chips which report their page size and 562 * A helper for defining newer chips which report their page size and