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 /drivers/mtd | |
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 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/jz4740_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c index 673ceb2a0b44..df7440872df0 100644 --- a/drivers/mtd/nand/jz4740_nand.c +++ b/drivers/mtd/nand/jz4740_nand.c @@ -476,7 +476,7 @@ static int jz_nand_probe(struct platform_device *pdev) } if (pdata && pdata->ident_callback) { - pdata->ident_callback(pdev, chip, &pdata->partitions, + pdata->ident_callback(pdev, mtd, &pdata->partitions, &pdata->num_partitions); } |