[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190708190252.24628-2-martin@geanix.com>
Date: Mon, 8 Jul 2019 21:02:50 +0200
From: Martin Hundebøll <martin@...nix.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>, linux-kernel@...r.kernel.org
Cc: Martin Hundebøll <martin@...nix.com>,
Sean Nyekjær <sean@...nix.com>,
Esben Haabendal <esben@...nix.com>
Subject: [PATCH 2/4] tty: n_gsm: update doc example to use header for N_GSM0710 define
There is no reason to gues the line discipline number when it is
available from tty.h
Signed-off-by: Martin Hundebøll <martin@...nix.com>
---
Documentation/serial/n_gsm.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/serial/n_gsm.rst b/Documentation/serial/n_gsm.rst
index 78f91ce06956..a3ce1b269018 100644
--- a/Documentation/serial/n_gsm.rst
+++ b/Documentation/serial/n_gsm.rst
@@ -23,7 +23,7 @@ Major parts of the initialization program :
(a good starting point is util-linux-ng/sys-utils/ldattach.c)::
#include <linux/gsmmux.h>
- #define N_GSM0710 21 /* GSM 0710 Mux */
+ #include <linux/tty.h>
#define DEFAULT_SPEED B115200
#define SERIAL_PORT /dev/ttyS0
--
2.22.0
Powered by blists - more mailing lists