diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-02-03 19:58:55 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2016-05-05 23:51:37 +0200 |
commit | 50533187eed5ace8d06e0e04aeea8fea1b70b8d7 (patch) | |
tree | dd831c0728bb58302b5cf35c4d28cc09de6d52f6 /arch/mips/include/asm | |
parent | e5b2d30e42e66122c9b1b17529df743bc938c041 (diff) | |
download | linux-50533187eed5ace8d06e0e04aeea8fea1b70b8d7.tar.gz linux-50533187eed5ace8d06e0e04aeea8fea1b70b8d7.tar.bz2 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/asm')
-rw-r--r-- | arch/mips/include/asm/mach-jz4740/jz4740_nand.h | 2 |
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); }; |