diff mbox series

[06/39] docs: mtd: move it to the driver-api book

Message ID 5153e27b3729e097e3069f206fb6143ca6457c62.1561724493.git.mchehab+samsung@kernel.org
State Not Applicable
Headers show
Series None | expand

Commit Message

Mauro Carvalho Chehab June 28, 2019, 12:29 p.m. UTC
While I was tempted to move it to admin-guide, as some docs
there are more userspace-faced, there are some very technical
discussions about memory error correction code from the Kernel
implementer's PoV. So, let's place it inside the driver-api
book.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
---
 Documentation/driver-api/index.rst               | 1 +
 Documentation/{ => driver-api}/mtd/index.rst     | 2 --
 Documentation/{ => driver-api}/mtd/intel-spi.rst | 0
 Documentation/{ => driver-api}/mtd/nand_ecc.rst  | 0
 Documentation/{ => driver-api}/mtd/spi-nor.rst   | 0
 drivers/mtd/nand/raw/nand_ecc.c                  | 2 +-
 6 files changed, 2 insertions(+), 3 deletions(-)
 rename Documentation/{ => driver-api}/mtd/index.rst (94%)
 rename Documentation/{ => driver-api}/mtd/intel-spi.rst (100%)
 rename Documentation/{ => driver-api}/mtd/nand_ecc.rst (100%)
 rename Documentation/{ => driver-api}/mtd/spi-nor.rst (100%)
diff mbox series

Patch

diff --git a/Documentation/driver-api/index.rst b/Documentation/driver-api/index.rst
index 41f5ce7dc34c..488c0347fa98 100644
--- a/Documentation/driver-api/index.rst
+++ b/Documentation/driver-api/index.rst
@@ -43,6 +43,7 @@  available subsections can be seen below.
    mtdnand
    miscellaneous
    mei/index
+   mtd/index
    nvdimm/index
    w1
    rapidio/index
diff --git a/Documentation/mtd/index.rst b/Documentation/driver-api/mtd/index.rst
similarity index 94%
rename from Documentation/mtd/index.rst
rename to Documentation/driver-api/mtd/index.rst
index 4fdae418ac97..2e0e7cc4055e 100644
--- a/Documentation/mtd/index.rst
+++ b/Documentation/driver-api/mtd/index.rst
@@ -1,5 +1,3 @@ 
-:orphan:
-
 ==============================
 Memory Technology Device (MTD)
 ==============================
diff --git a/Documentation/mtd/intel-spi.rst b/Documentation/driver-api/mtd/intel-spi.rst
similarity index 100%
rename from Documentation/mtd/intel-spi.rst
rename to Documentation/driver-api/mtd/intel-spi.rst
diff --git a/Documentation/mtd/nand_ecc.rst b/Documentation/driver-api/mtd/nand_ecc.rst
similarity index 100%
rename from Documentation/mtd/nand_ecc.rst
rename to Documentation/driver-api/mtd/nand_ecc.rst
diff --git a/Documentation/mtd/spi-nor.rst b/Documentation/driver-api/mtd/spi-nor.rst
similarity index 100%
rename from Documentation/mtd/spi-nor.rst
rename to Documentation/driver-api/mtd/spi-nor.rst
diff --git a/drivers/mtd/nand/raw/nand_ecc.c b/drivers/mtd/nand/raw/nand_ecc.c
index f6a7808db818..09fdced659f5 100644
--- a/drivers/mtd/nand/raw/nand_ecc.c
+++ b/drivers/mtd/nand/raw/nand_ecc.c
@@ -11,7 +11,7 @@ 
  *   Thomas Gleixner (tglx@linutronix.de)
  *
  * Information on how this algorithm works and how it was developed
- * can be found in Documentation/mtd/nand_ecc.rst
+ * can be found in Documentation/driver-api/mtd/nand_ecc.rst
  */
 
 #include <linux/types.h>