diff options
| author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-02-03 13:58:11 -0500 |
|---|---|---|
| committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-05-05 17:51:36 -0400 |
| commit | e5b2d30e42e66122c9b1b17529df743bc938c041 (patch) | |
| tree | 5b3800babaab98d15144fa93a9764d3d735f20d9 /include/linux/mtd | |
| parent | 7cf9c19a836a79c60deef63714cb2880246d9a85 (diff) | |
mtd: nand: sharpsl: switch to mtd_ooblayout_ops
Implementing the mtd_ooblayout_ops interface is the new way of exposing
ECC/OOB layout to MTD users.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'include/linux/mtd')
| -rw-r--r-- | include/linux/mtd/sharpsl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h index 25f4d2a845c1..65e91d0fa981 100644 --- a/include/linux/mtd/sharpsl.h +++ b/include/linux/mtd/sharpsl.h | |||
| @@ -14,7 +14,7 @@ | |||
| 14 | 14 | ||
| 15 | struct sharpsl_nand_platform_data { | 15 | struct sharpsl_nand_platform_data { |
| 16 | struct nand_bbt_descr *badblock_pattern; | 16 | struct nand_bbt_descr *badblock_pattern; |
| 17 | struct nand_ecclayout *ecc_layout; | 17 | const struct mtd_ooblayout_ops *ecc_layout; |
| 18 | struct mtd_partition *partitions; | 18 | struct mtd_partition *partitions; |
| 19 | unsigned int nr_partitions; | 19 | unsigned int nr_partitions; |
| 20 | }; | 20 | }; |
