diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-02-03 19:58:11 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-05-05 23:51:36 +0200 |
commit | e5b2d30e42e66122c9b1b17529df743bc938c041 (patch) | |
tree | 5b3800babaab98d15144fa93a9764d3d735f20d9 /include/linux/mtd/sharpsl.h | |
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/sharpsl.h')
-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 @@ struct sharpsl_nand_platform_data { struct nand_bbt_descr *badblock_pattern; - struct nand_ecclayout *ecc_layout; + const struct mtd_ooblayout_ops *ecc_layout; struct mtd_partition *partitions; unsigned int nr_partitions; }; |