]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: nand: s3c2410: kill the ->ecc_layout field
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Mon, 7 Dec 2015 22:25:59 +0000 (23:25 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 26 Jan 2016 18:27:35 +0000 (10:27 -0800)
commitf88f44cbf10cf5bd42d6e46ea6625d9bfa5f155d
tree0853dfd930e735142ab2a20583f3a838360f73be
parent2c9e57799f1b7ef35a9e7f774edac6b3feac6399
mtd: nand: s3c2410: kill the ->ecc_layout field

The s3c2410 is allowing board data to overload the default ECC layout
defined inside the driver, but this feature is not used by board
specific definitions.
Kill this field so that we can easily move to a model where ecclayout
are dynamically allocated by the NAND controller driver.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
arch/arm/plat-samsung/devs.c
drivers/mtd/nand/s3c2410.c
include/linux/platform_data/mtd-nand-s3c2410.h