From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZUWUS-0007ur-J1 for barebox@lists.infradead.org; Wed, 26 Aug 2015 08:55:29 +0000 From: Sascha Hauer Date: Wed, 26 Aug 2015 10:55:05 +0200 Message-Id: <1440579305-7794-2-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1440579305-7794-1-git-send-email-s.hauer@pengutronix.de> References: <1440579305-7794-1-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/2] serial: ns16550: Set linux_console_name To: Barebox List The regular ns16450/ns16550 devices get the console name "ttyS" under Linux. Add this to the driver data. Signed-off-by: Sascha Hauer --- drivers/serial/serial_ns16550.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c index c186ad4..1af226a 100644 --- a/drivers/serial/serial_ns16550.c +++ b/drivers/serial/serial_ns16550.c @@ -297,10 +297,12 @@ static void ns16550_probe_dt(struct device_d *dev, struct ns16550_priv *priv) static struct ns16550_drvdata ns16450_drvdata = { .init_port = ns16450_serial_init_port, + .linux_console_name = "ttyS", }; static struct ns16550_drvdata ns16550_drvdata = { .init_port = ns16550_serial_init_port, + .linux_console_name = "ttyS", }; static __maybe_unused struct ns16550_drvdata omap_drvdata = { -- 2.4.6 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox