tty/sysrq: constify the the sysrq_key_op(s)
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 13 May 2020 21:43:43 +0000 (22:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 May 2020 12:53:19 +0000 (14:53 +0200)
commit7fffe31d3eaa2f08bdfde2403adcaa8029f9bea4
tree4af8c48c07a41a8b2dbedea507d0fc17bbf9078a
parent23cbedf812ff7c7751582928e32d953d84c1c821
tty/sysrq: constify the the sysrq_key_op(s)

All the users threat them as immutable - annotate them as such.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://lore.kernel.org/r/20200513214351.2138580-3-emil.l.velikov@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/sysrq.c
include/linux/sysrq.h