summaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2019-08-20 09:06:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-08-21 08:50:24 +0200
commit484add97d1467e1fb30c5131dd91f32e62afec73 (patch)
treed3b82cea1020411cad8d86ea00819ab5a0e418bd /drivers/serial
parent6a3ce8aecfe9634c781074f8fb66a408ad40f003 (diff)
downloadbarebox-484add97d1467e1fb30c5131dd91f32e62afec73.tar.gz
serial: atmel: set linux_console_name
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/atmel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/atmel.c b/drivers/serial/atmel.c
index 2f8adc9..8394273 100644
--- a/drivers/serial/atmel.c
+++ b/drivers/serial/atmel.c
@@ -436,6 +436,7 @@ static int atmel_serial_probe(struct device_d *dev)
cdev->getc = atmel_serial_getc;
cdev->setbrg = atmel_serial_setbaudrate;
cdev->set_mode = atmel_serial_set_mode;
+ cdev->linux_console_name = "ttyAT";
atmel_serial_init_port(cdev);