summaryrefslogtreecommitdiff
path: root/include/linux/mtd/sharpsl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mtd/sharpsl.h')
-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;
};