diff options
author | Jiri Slaby <jirislaby@kernel.org> | 2023-07-31 11:59:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-31 18:16:20 +0300 |
commit | e33ec544baa85b447b9decbe39cdc642c1366380 (patch) | |
tree | d754294a4e9733c0ecc215279f0b8325228bd44b /drivers/tty/synclink_gt.c | |
parent | 6340b02cc75020e0c3e47e988a9c5ea806e85a48 (diff) | |
download | linux-e33ec544baa85b447b9decbe39cdc642c1366380.tar.xz |
tty: synclink_gt: define global strings as const strings
And not non-const pointers to strings.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230731090002.15680-4-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/synclink_gt.c')
-rw-r--r-- | drivers/tty/synclink_gt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/synclink_gt.c b/drivers/tty/synclink_gt.c index c2ab7ecf0900..a8716a81ac74 100644 --- a/drivers/tty/synclink_gt.c +++ b/drivers/tty/synclink_gt.c @@ -87,8 +87,8 @@ /* * module identification */ -static char *driver_name = "SyncLink GT"; -static char *tty_dev_prefix = "ttySLG"; +static const char driver_name[] = "SyncLink GT"; +static const char tty_dev_prefix[] = "ttySLG"; MODULE_LICENSE("GPL"); #define MAX_DEVICES 32 |