mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00: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:
parent
6340b02cc7
commit
e33ec544ba
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue