mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 20:34:23 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
6340b02cc7
commit
e33ec544ba
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user