diff options
| author | Krzysztof Kozlowski <[email protected]> | 2022-03-08 09:09:16 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-03-18 13:18:59 +0100 |
| commit | 5d18bec0cf73370b2328dc311f28271f2b40d163 (patch) | |
| tree | 40bf221f8d9ff23ea8bcdb778ff7fbc8fc726548 | |
| parent | 97a6cfe8115b04296da6ee6589367234307f0c7d (diff) | |
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]>
| -rw-r--r-- | drivers/tty/serial/samsung_tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |