mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +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:
committed by
Greg Kroah-Hartman
parent
0e0a0380fd
commit
fe61b57fc0
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user