Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7531584ybi; Mon, 8 Jul 2019 23:48:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1+f0gDqwXlCYZYpiBJM7WlUTK901q+x8ZMXEWqMmrmMNfLeCVYKpXSs+f8RGLwyvd2QpF X-Received: by 2002:a17:902:24b:: with SMTP id 69mr28746868plc.250.1562654914069; Mon, 08 Jul 2019 23:48:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562654914; cv=none; d=google.com; s=arc-20160816; b=fXTQNvrktLrG1QQoMwzAqZVUnFV602UoEDa3Neya0HXL7PCuPWb3Gmq067IdjppdsR gIXhEyKDXyg7IZUi+epxRz8rS1CsmUrcbhs9EuosX/utZL+/GOE2SwqK3ypcodFKUtWn c9ijkCSAloav9sPEAmr7c6gd5RAtwHX60N4P7qsIL7cLCMkmeerDpOJddXyRhIIehPJn WzFa3gzo6JB17m1n3d9pmsbcVhtTpfbSONWl7zT+Wwt+Xt5dsekisPucoP5DOIUNadln EHcRtw7q0R0r6aYe7Yu2aP5fCGIkkZrwjjoAK98VYXlDks88aTFexqJPdAokSBwCqcLC HTFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=N4zA91k4kEYcRO92dM4rrtgm0S1P38I+cZKg8J1wQvo=; b=cE3xWVPZhmoWZb6HBnavwi5N+mkDqSaB5Gl6N3xv/gPfINXn5U0cCVr2oLL7nzaYjz u9LyUEsyGgTg2/WjkwLC2vSaknuGYsmOBNkGu5xcnu2u74k/uOVi/YvIVLEXNVumTC0N D2pLj9Y0K00ryydjKlpVrWpO1bNuRUEIkv/ZCggAFSIRbaA9Xyw81SYZoMyzcbzS8cCm iYsYKMo6hwRvgwSev8QTEfqQxprL3WHDTes5CH9IlJCPX9ZhpYtroMFSIJHdNkboJpQO NW5Jlk/RXX/jpXMfXrsCDGjP1h3cfeRynEGlUe9mujt1RzuPR2K1Zbj09gXXtvwsziF8 MzEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@geanix.com header.s=first header.b=KUpNEaDS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r13si20723246pgp.214.2019.07.08.23.48.18; Mon, 08 Jul 2019 23:48:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@geanix.com header.s=first header.b=KUpNEaDS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726371AbfGIGqn (ORCPT + 99 others); Tue, 9 Jul 2019 02:46:43 -0400 Received: from first.geanix.com ([116.203.34.67]:46422 "EHLO first.geanix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725832AbfGIGql (ORCPT ); Tue, 9 Jul 2019 02:46:41 -0400 Received: from zen.localdomain (unknown [85.184.140.241]) by first.geanix.com (Postfix) with ESMTPSA id CEEF3A742; Tue, 9 Jul 2019 06:45:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=geanix.com; s=first; t=1562654711; bh=hbPCQQVPqZIoYMntGiWvEsOQTkIuxWitxVSaU5o6y+I=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=KUpNEaDSPXmNH1CzA0gdqYA+cT66lUyO/dbzLmMMM78ikYhxrLKp8aEoM+42TKc0Q Xl87yZs8SoRz1geIBYXlECkS2zmU4+kqy5l1egdSqJOYmaonsKPSZe+RzhFZoX7U/g FFoJY9lxdOSbhM/TRG3ZBrWYShCBS8Mib8k8ANOPBApdrhN38VMQ+Q00u1tVUSfc5l sD7KbzrVZ9IFhj/uRHzWLNrzViFjK4pKGPEKuuj6FPgi9qQeytKMgR76NwGfkh7bK2 0qYt6V4Yt6pzFOUW4rrRIyyTOA4NthsnWi+JL3viP0g6EJgrxSFbCa3yq1Yq/Sjjh5 dLUdiJ/h0Pj9w== From: =?UTF-8?q?Martin=20Hundeb=C3=B8ll?= To: Greg Kroah-Hartman , Jiri Slaby , linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Martin=20Hundeb=C3=B8ll?= , =?UTF-8?q?Sean=20Nyekj=C3=A6r?= , Esben Haabendal Subject: [PATCHv2 2/4] tty: n_gsm: update doc example to use header for N_GSM0710 define Date: Tue, 9 Jul 2019 08:46:31 +0200 Message-Id: <20190709064633.45411-2-martin@geanix.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190709064633.45411-1-martin@geanix.com> References: <20190709064633.45411-1-martin@geanix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on 884f5ce5917a Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no reason to gues the line discipline number when it is available from tty.h Signed-off-by: Martin Hundebøll --- 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 4f37198423f7..0ba731ab00b2 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 - #define N_GSM0710 21 /* GSM 0710 Mux */ + #include #define DEFAULT_SPEED B115200 #define SERIAL_PORT /dev/ttyS0 -- 2.22.0