summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api/mtdnand.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/driver-api/mtdnand.rst')
-rw-r--r--Documentation/driver-api/mtdnand.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/driver-api/mtdnand.rst b/Documentation/driver-api/mtdnand.rst
index c55a6034c397..1ab6f35b6410 100644
--- a/Documentation/driver-api/mtdnand.rst
+++ b/Documentation/driver-api/mtdnand.rst
@@ -246,7 +246,7 @@ necessary information about the device.
this->eccmode = NAND_ECC_SOFT;
/* Scan to find existence of the device */
- if (nand_scan (board_mtd, 1)) {
+ if (nand_scan (this, 1)) {
err = -ENXIO;
goto out_ior;
}