tty: vc_screen: make vc_class constant
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Oct 2023 13:33:48 +0000 (15:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Oct 2023 09:18:51 +0000 (11:18 +0200)
commit5a1cc96352b29e83c70714235ed6cbed0dcf5b8b
tree5cc5b9b5a48301c8f2318d353059024c391c70d7
parent3abe1144ed548cded0595163e6f39e3c7d635c56
tty: vc_screen: make vc_class constant

Now that the driver core allows for struct class to be in read-only
memory, making all 'class' structures to be declared at build time
placing them into read-only memory, instead of having to be dynamically
allocated at load time.

Cc: Jiri Slaby <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/2023100549-sixth-anger-ac34@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vc_screen.c