OSDN Git Service

tty: synclink_gt: make default_params const
authorJiri Slaby <jirislaby@kernel.org>
Mon, 31 Jul 2023 09:00:01 +0000 (11:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Jul 2023 15:16:21 +0000 (17:16 +0200)
commitfe61b57fc0f27a7df81a1a355defb8ddcb9731cb
treeaf006a16def3e21005ff81be2493d59f815b3241
parent0e0a0380fd40d7230b6ca2c67810017ab03a1d0a
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>
drivers/tty/synclink_gt.c