aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-06-15 20:56:10 +0200
committerScott Wood <oss@buserror.net>2016-06-19 19:28:38 -0500
commit30780f948346436f9974fd6eae89aa2eb841b436 (patch)
tree599a91d29770520d33c50da9572a4b068017ada0 /doc
parentcaad0d00a8bc3d44ca6581030b95dce97386689c (diff)
downloadu-boot-30780f948346436f9974fd6eae89aa2eb841b436.zip
u-boot-30780f948346436f9974fd6eae89aa2eb841b436.tar.gz
u-boot-30780f948346436f9974fd6eae89aa2eb841b436.tar.bz2
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')
-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,