kernel/kernel/power/poweroff.c
.. .. @@ -1,7 +1,6 @@ 1 +// SPDX-License-Identifier: GPL-2.0-only1 2 /* 2 3 * poweroff.c - sysrq handler to gracefully power down machine. 3 - *4 - * This file is released under the GPL v25 4 */ 6 5 7 6 #include <linux/kernel.h> .. .. @@ -30,7 +29,7 @@ 30 29 schedule_work_on(cpumask_first(cpu_online_mask), &poweroff_work); 31 30 } 32 31 33 -static struct sysrq_key_op sysrq_poweroff_op = {32 +static const struct sysrq_key_op sysrq_poweroff_op = {34 33 .handler = handle_poweroff, 35 34 .help_msg = "poweroff(o)", 36 35 .action_msg = "Power Off",