Skip to content

Commit 5d18bec

Browse files
krzkgregkh
authored andcommitted
tty: serial: samsung: constify UART name
The UART name from driver data holds only string literals. Tested-by: Alim Akhtar <[email protected]> Reviewed-by: Jiri Slaby <[email protected]> Reviewed-by: Alim Akhtar <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 97a6cfe commit 5d18bec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tty/serial/samsung_tty.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ enum s3c24xx_port_type {
6363
};
6464

6565
struct s3c24xx_uart_info {
66-
char *name;
66+
const char *name;
6767
enum s3c24xx_port_type type;
6868
unsigned int port_type;
6969
unsigned int fifosize;

0 commit comments

Comments
 (0)