From 30780f948346436f9974fd6eae89aa2eb841b436 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Wed, 15 Jun 2016 20:56:10 +0200 Subject: mtd: nand: Patch remaining places where nand_to_mtd() should be used Some drivers are still directly accessing the chip->mtd field. Patch them to use nand_to_mtd() instead. Signed-off-by: Boris Brezillon --- doc/README.nand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/README.nand') diff --git a/doc/README.nand b/doc/README.nand index edb45eb..f1c20ff 100644 --- a/doc/README.nand +++ b/doc/README.nand @@ -137,7 +137,7 @@ Configuration Options: init: /* chip is struct nand_chip, and is now provided by the driver. */ - mtd = &chip.mtd; + mtd = nand_to_mtd(&chip); /* * Fill in appropriate values if this driver uses these fields, -- cgit v1.1