summaryrefslogtreecommitdiff
path: root/doc/README.nand
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-06-15 18:56:10 (GMT)
committerScott Wood <oss@buserror.net>2016-06-20 00:28:38 (GMT)
commit30780f948346436f9974fd6eae89aa2eb841b436 (patch)
tree599a91d29770520d33c50da9572a4b068017ada0 /doc/README.nand
parentcaad0d00a8bc3d44ca6581030b95dce97386689c (diff)
downloadu-boot-30780f948346436f9974fd6eae89aa2eb841b436.tar.xz
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 <boris.brezillon@free-electrons.com>
Diffstat (limited to 'doc/README.nand')
-rw-r--r--doc/README.nand2
1 files changed, 1 insertions, 1 deletions
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,