[PATCH 3/6] Documentation: tty: move n_gsm to tty

From: Jiri Slaby
Date: Mon Apr 11 2022 - 07:02:11 EST


We have n_tty documented in Documentation/driver-api/tty/. n_gsm belongs
there too, so move from serial/ to tty/ too.

Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
---
Documentation/driver-api/serial/index.rst | 1 -
Documentation/driver-api/tty/index.rst | 1 +
Documentation/driver-api/{serial => tty}/n_gsm.rst | 0
3 files changed, 1 insertion(+), 1 deletion(-)
rename Documentation/driver-api/{serial => tty}/n_gsm.rst (100%)

diff --git a/Documentation/driver-api/serial/index.rst b/Documentation/driver-api/serial/index.rst
index 7eb21a695fc3..4ebdb86cd6b6 100644
--- a/Documentation/driver-api/serial/index.rst
+++ b/Documentation/driver-api/serial/index.rst
@@ -17,7 +17,6 @@ Serial drivers
:maxdepth: 1

moxa-smartio
- n_gsm
serial-iso7816
serial-rs485

diff --git a/Documentation/driver-api/tty/index.rst b/Documentation/driver-api/tty/index.rst
index e6a7f717a9a5..85eaac76a971 100644
--- a/Documentation/driver-api/tty/index.rst
+++ b/Documentation/driver-api/tty/index.rst
@@ -68,4 +68,5 @@ Miscellaneous documentation can be further found in these documents:
.. toctree::
:maxdepth: 2

+ n_gsm
n_tty
diff --git a/Documentation/driver-api/serial/n_gsm.rst b/Documentation/driver-api/tty/n_gsm.rst
similarity index 100%
rename from Documentation/driver-api/serial/n_gsm.rst
rename to Documentation/driver-api/tty/n_gsm.rst
--
2.35.1