mirror of https://github.com/torvalds/linux.git
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
|
|
@ -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 New Issue