From 43f6c0787c1781b951d686e8302377fcf85ccb8a Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 18 Jun 2019 16:40:16 -0300 Subject: [PATCH] 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 --- 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 --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 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 -- 2.30.2