summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorMartin Hundebøll <martin@geanix.com>2019-07-10 21:26:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-04 12:43:43 +0200
commita64d19aa0ef62c7238e45d3f1cac90dd1915e560 (patch)
treec5a7c8b46b46a09684a8b2acbadc5162f63de4a5 /Documentation/driver-api
parent69b1aaa4504159054728cebe8df43b82c41e8987 (diff)
downloadlinux-a64d19aa0ef62c7238e45d3f1cac90dd1915e560.tar.gz
linux-a64d19aa0ef62c7238e45d3f1cac90dd1915e560.tar.bz2
linux-a64d19aa0ef62c7238e45d3f1cac90dd1915e560.zip
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@geanix.com> Link: https://lore.kernel.org/r/20190710192656.60381-2-martin@geanix.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/driver-api')
-rw-r--r--Documentation/driver-api/serial/n_gsm.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/driver-api/serial/n_gsm.rst b/Documentation/driver-api/serial/n_gsm.rst
index 4f37198423f7..0ba731ab00b2 100644
--- a/Documentation/driver-api/serial/n_gsm.rst
+++ b/Documentation/driver-api/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