summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-18 16:40:16 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-07-15 09:20:28 -0300
commit43f6c0787c1781b951d686e8302377fcf85ccb8a (patch)
tree91ccc899245bb8470f82bcfef80cd641125e46ad
parentbf6b7a742e3f82b3132e149fb17761e84207f9f1 (diff)
docs: mtd: move it to the driver-api book
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>
-rw-r--r--Documentation/driver-api/index.rst1
-rw-r--r--Documentation/driver-api/mtd/index.rst (renamed from Documentation/mtd/index.rst)2
-rw-r--r--Documentation/driver-api/mtd/intel-spi.rst (renamed from Documentation/mtd/intel-spi.rst)0
-rw-r--r--Documentation/driver-api/mtd/nand_ecc.rst (renamed from Documentation/mtd/nand_ecc.rst)0
-rw-r--r--Documentation/driver-api/mtd/spi-nor.rst (renamed from Documentation/mtd/spi-nor.rst)0
-rw-r--r--drivers/mtd/nand/raw/nand_ecc.c2
6 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/driver-api/index.rst b/Documentation/driver-api/index.rst
index 410dd7110772..7ecc65093493 100644
--- a/Documentation/driver-api/index.rst
+++ b/Documentation/driver-api/index.rst
@@ -44,6 +44,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
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
index 0e6d9cd5388d..0e6d9cd5388d 100644
--- a/Documentation/mtd/intel-spi.rst
+++ b/Documentation/driver-api/mtd/intel-spi.rst
diff --git a/Documentation/mtd/nand_ecc.rst b/Documentation/driver-api/mtd/nand_ecc.rst
index e8d3c53a5056..e8d3c53a5056 100644
--- a/Documentation/mtd/nand_ecc.rst
+++ b/Documentation/driver-api/mtd/nand_ecc.rst
diff --git a/Documentation/mtd/spi-nor.rst b/Documentation/driver-api/mtd/spi-nor.rst
index f5333e3bf486..f5333e3bf486 100644
--- a/Documentation/mtd/spi-nor.rst
+++ b/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>