OSDN Git Service

mtd: nand: jz4740: kill the ->ecc_layout field
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Mon, 7 Dec 2015 22:26:00 +0000 (23:26 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 26 Jan 2016 18:27:35 +0000 (10:27 -0800)
commitd5e83ea7dc510fe8e7b4a54e5a93f3dd760f6d7e
tree43546e88168ccbde4855dd57ac0a709ba920eb2d
parentf88f44cbf10cf5bd42d6e46ea6625d9bfa5f155d
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>
arch/mips/include/asm/mach-jz4740/jz4740_nand.h
drivers/mtd/nand/jz4740_nand.c