summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2015-12-07 23:26:00 +0100
committerBrian Norris <computersforpeace@gmail.com>2016-01-26 19:27:35 +0100
commitd5e83ea7dc510fe8e7b4a54e5a93f3dd760f6d7e (patch)
tree43546e88168ccbde4855dd57ac0a709ba920eb2d /arch/mips
parentmtd: nand: s3c2410: kill the ->ecc_layout field (diff)
downloadlinux-d5e83ea7dc510fe8e7b4a54e5a93f3dd760f6d7e.tar.xz
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.h2
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 *,