summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-02-03 19:58:11 +0100
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-05-05 23:51:36 +0200
commite5b2d30e42e66122c9b1b17529df743bc938c041 (patch)
tree5b3800babaab98d15144fa93a9764d3d735f20d9 /include
parentmtd: nand: bch: switch to mtd_ooblayout_ops (diff)
downloadlinux-e5b2d30e42e66122c9b1b17529df743bc938c041.tar.xz
linux-e5b2d30e42e66122c9b1b17529df743bc938c041.zip
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')
-rw-r--r--include/linux/mtd/sharpsl.h2
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;
};