diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2015-12-07 23:26:00 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-01-26 10:27:35 -0800 |
commit | d5e83ea7dc510fe8e7b4a54e5a93f3dd760f6d7e (patch) | |
tree | 43546e88168ccbde4855dd57ac0a709ba920eb2d /arch/mips | |
parent | f88f44cbf10cf5bd42d6e46ea6625d9bfa5f155d (diff) | |
download | linux-d5e83ea7dc510fe8e7b4a54e5a93f3dd760f6d7e.tar.gz linux-d5e83ea7dc510fe8e7b4a54e5a93f3dd760f6d7e.tar.bz2 linux-d5e83ea7dc510fe8e7b4a54e5a93f3dd760f6d7e.zip |
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 79cff26d8b36..398733e3e2cf 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 *, |