summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2015-12-07 23:26:01 +0100
committerBrian Norris <computersforpeace@gmail.com>2016-01-26 10:27:36 -0800
commit02db97a9de1c80bd5551ba46d901cb4d912f78f2 (patch)
treead5c9d7cdc24697fee70747f3f7008eb85ccb97f /include
parentd5e83ea7dc510fe8e7b4a54e5a93f3dd760f6d7e (diff)
downloadlinux-02db97a9de1c80bd5551ba46d901cb4d912f78f2.tar.gz
linux-02db97a9de1c80bd5551ba46d901cb4d912f78f2.tar.bz2
linux-02db97a9de1c80bd5551ba46d901cb4d912f78f2.zip
mtd: nand: kill unused ->ecclayout field in platform_nand_chip struct
This field is not set in any board file and can thus be dropped. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/nand.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index a13dfd5bc58b..7604f4be3386 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -902,7 +902,6 @@ extern int nand_do_read(struct mtd_info *mtd, loff_t from, size_t len,
* @chip_delay: R/B delay value in us
* @options: Option flags, e.g. 16bit buswidth
* @bbt_options: BBT option flags, e.g. NAND_BBT_USE_FLASH
- * @ecclayout: ECC layout info structure
* @part_probe_types: NULL-terminated array of probe types
*/
struct platform_nand_chip {
@@ -910,7 +909,6 @@ struct platform_nand_chip {
int chip_offset;
int nr_partitions;
struct mtd_partition *partitions;
- struct nand_ecclayout *ecclayout;
int chip_delay;
unsigned int options;
unsigned int bbt_options;