summaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
authorBoris Brezillon2016-02-03 19:58:55 +0100
committerBoris Brezillon2016-05-05 23:51:37 +0200
commit50533187eed5ace8d06e0e04aeea8fea1b70b8d7 (patch)
treedd831c0728bb58302b5cf35c4d28cc09de6d52f6 /arch/mips/include
parentmtd: nand: sharpsl: switch to mtd_ooblayout_ops (diff)
downloadkernel-qcow2-linux-50533187eed5ace8d06e0e04aeea8fea1b70b8d7.tar.gz
kernel-qcow2-linux-50533187eed5ace8d06e0e04aeea8fea1b70b8d7.tar.xz
kernel-qcow2-linux-50533187eed5ace8d06e0e04aeea8fea1b70b8d7.zip
mtd: nand: jz4740: 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> Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/mach-jz4740/jz4740_nand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-jz4740/jz4740_nand.h b/arch/mips/include/asm/mach-jz4740/jz4740_nand.h
index 398733e3e2cf..7f7b0fc554da 100644
--- a/arch/mips/include/asm/mach-jz4740/jz4740_nand.h
+++ b/arch/mips/include/asm/mach-jz4740/jz4740_nand.h
@@ -27,7 +27,7 @@ struct jz_nand_platform_data {
unsigned char banks[JZ_NAND_NUM_BANKS];
- void (*ident_callback)(struct platform_device *, struct nand_chip *,
+ void (*ident_callback)(struct platform_device *, struct mtd_info *,
struct mtd_partition **, int *num_partitions);
};