diff options
| author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2015-12-07 17:26:01 -0500 |
|---|---|---|
| committer | Brian Norris <computersforpeace@gmail.com> | 2016-01-26 13:27:36 -0500 |
| commit | 02db97a9de1c80bd5551ba46d901cb4d912f78f2 (patch) | |
| tree | ad5c9d7cdc24697fee70747f3f7008eb85ccb97f /include/linux/mtd | |
| parent | d5e83ea7dc510fe8e7b4a54e5a93f3dd760f6d7e (diff) | |
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/linux/mtd')
| -rw-r--r-- | include/linux/mtd/nand.h | 2 |
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, | |||
| 902 | * @chip_delay: R/B delay value in us | 902 | * @chip_delay: R/B delay value in us |
| 903 | * @options: Option flags, e.g. 16bit buswidth | 903 | * @options: Option flags, e.g. 16bit buswidth |
| 904 | * @bbt_options: BBT option flags, e.g. NAND_BBT_USE_FLASH | 904 | * @bbt_options: BBT option flags, e.g. NAND_BBT_USE_FLASH |
| 905 | * @ecclayout: ECC layout info structure | ||
| 906 | * @part_probe_types: NULL-terminated array of probe types | 905 | * @part_probe_types: NULL-terminated array of probe types |
| 907 | */ | 906 | */ |
| 908 | struct platform_nand_chip { | 907 | struct platform_nand_chip { |
| @@ -910,7 +909,6 @@ struct platform_nand_chip { | |||
| 910 | int chip_offset; | 909 | int chip_offset; |
| 911 | int nr_partitions; | 910 | int nr_partitions; |
| 912 | struct mtd_partition *partitions; | 911 | struct mtd_partition *partitions; |
| 913 | struct nand_ecclayout *ecclayout; | ||
| 914 | int chip_delay; | 912 | int chip_delay; |
| 915 | unsigned int options; | 913 | unsigned int options; |
| 916 | unsigned int bbt_options; | 914 | unsigned int bbt_options; |
