diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2015-12-07 22:26:00 (GMT) |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-01-26 18:27:35 (GMT) |
commit | d5e83ea7dc510fe8e7b4a54e5a93f3dd760f6d7e (patch) | |
tree | 43546e88168ccbde4855dd57ac0a709ba920eb2d /arch/mips | |
parent | f88f44cbf10cf5bd42d6e46ea6625d9bfa5f155d (diff) | |
download | linux-d5e83ea7dc510fe8e7b4a54e5a93f3dd760f6d7e.tar.xz |
mtd: nand: jz4740: kill the ->ecc_layout field
->ecc_layout is not used by any board file. Kill this field to avoid any
confusion. New boards are encouraged to use the default ECC layout defined
in NAND core.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/mach-jz4740/jz4740_nand.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/include/asm/mach-jz4740/jz4740_nand.h b/arch/mips/include/asm/mach-jz4740/jz4740_nand.h index 79cff26..398733e 100644 --- a/arch/mips/include/asm/mach-jz4740/jz4740_nand.h +++ b/arch/mips/include/asm/mach-jz4740/jz4740_nand.h @@ -25,8 +25,6 @@ struct jz_nand_platform_data { int num_partitions; struct mtd_partition *partitions; - struct nand_ecclayout *ecc_layout; - unsigned char banks[JZ_NAND_NUM_BANKS]; void (*ident_callback)(struct platform_device *, struct nand_chip *, |