From 5d18bec0cf73370b2328dc311f28271f2b40d163 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Tue, 8 Mar 2022 09:09:16 +0100 Subject: tty: serial: samsung: constify UART name The UART name from driver data holds only string literals. Tested-by: Alim Akhtar Reviewed-by: Jiri Slaby Reviewed-by: Alim Akhtar Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20220308080919.152715-6-krzysztof.kozlowski@canonical.com Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/samsung_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/tty/serial') diff --git a/drivers/tty/serial/samsung_tty.c b/drivers/tty/serial/samsung_tty.c index c7824b80a4bf..872222e212f1 100644 --- a/drivers/tty/serial/samsung_tty.c +++ b/drivers/tty/serial/samsung_tty.c @@ -63,7 +63,7 @@ enum s3c24xx_port_type { }; struct s3c24xx_uart_info { - char *name; + const char *name; enum s3c24xx_port_type type; unsigned int port_type; unsigned int fifosize; -- cgit v1.2.1