summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api/mtd
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2019-08-07 00:06:23 +0800
committerJonathan Corbet <corbet@lwn.net>2019-09-06 08:51:39 -0600
commite62be10350ebcbfe99bd3fc0e15a0e21b1352fde (patch)
treefbfb02f1dcabb0fbb960ef4b52147250e099a147 /Documentation/driver-api/mtd
parentf145579d8398941bc9a320cab8436c4ca35d9932 (diff)
downloadblackbird-op-linux-e62be10350ebcbfe99bd3fc0e15a0e21b1352fde.tar.gz
blackbird-op-linux-e62be10350ebcbfe99bd3fc0e15a0e21b1352fde.zip
docs: mtd: Update spi nor reference driver
The reference driver no longer exists since commit 50f1242c6742 ("mtd: fsl-quadspi: Remove the driver as it was replaced by spi-fsl-qspi.c"). Update reference to spi-fsl-qspi.c driver. Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/driver-api/mtd')
-rw-r--r--Documentation/driver-api/mtd/spi-nor.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/driver-api/mtd/spi-nor.rst b/Documentation/driver-api/mtd/spi-nor.rst
index f5333e3bf486..1f0437676762 100644
--- a/Documentation/driver-api/mtd/spi-nor.rst
+++ b/Documentation/driver-api/mtd/spi-nor.rst
@@ -59,7 +59,7 @@ Part III - How can drivers use the framework?
The main API is spi_nor_scan(). Before you call the hook, a driver should
initialize the necessary fields for spi_nor{}. Please see
-drivers/mtd/spi-nor/spi-nor.c for detail. Please also refer to fsl-quadspi.c
+drivers/mtd/spi-nor/spi-nor.c for detail. Please also refer to spi-fsl-qspi.c
when you want to write a new driver for a SPI NOR controller.
Another API is spi_nor_restore(), this is used to restore the status of SPI
flash chip such as addressing mode. Call it whenever detach the driver from
OpenPOWER on IntegriCloud