summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2019-06-21 08:21:37 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2019-06-26 08:55:15 +0200
commit7b1b30c300cb5eb4b6fa98cbd1cb6c62dc56b8af (patch)
tree54e21a0edb98228847f4ffda4b7e6293db8575cb /drivers/serial
parent74a7a99fb5e5b88793c146aaa36f2a1662b0085d (diff)
downloadbarebox-7b1b30c300cb5eb4b6fa98cbd1cb6c62dc56b8af.tar.gz
serial: ar933x: set linux_console_name
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/serial_ar933x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/serial_ar933x.c b/drivers/serial/serial_ar933x.c
index 676b9fa..dda6046 100644
--- a/drivers/serial/serial_ar933x.c
+++ b/drivers/serial/serial_ar933x.c
@@ -175,6 +175,7 @@ static int ar933x_serial_probe(struct device_d *dev)
cdev->putc = ar933x_serial_putc;
cdev->getc = ar933x_serial_getc;
cdev->setbrg = ar933x_serial_setbaudrate;
+ cdev->linux_console_name = "ttyATH";
priv->clk = clk_get(dev, NULL);
if (IS_ERR(priv->clk)) {