mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
tty: synclink_gt: make default_params const
default_params are only read, so move them from .data to .rodata using 'const'. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20230731090002.15680-7-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0e0a0380fd
commit
fe61b57fc0
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ struct slgt_info {
|
|||
|
||||
};
|
||||
|
||||
static MGSL_PARAMS default_params = {
|
||||
static const MGSL_PARAMS default_params = {
|
||||
.mode = MGSL_MODE_HDLC,
|
||||
.loopback = 0,
|
||||
.flags = HDLC_FLAG_UNDERRUN_ABORT15,
|
||||
|
|
Loading…
Reference in a new issue