Commit bbdc18a3 authored by Jan Beulich's avatar Jan Beulich Committed by Rafael J. Wysocki

properly __init-annotate pm_sysrq_init()

This is used only as argument to subsys_initcall().
Signed-off-by: default avatarJan Beulich <jbeulich@suse.com>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 49550709
......@@ -37,7 +37,7 @@ static struct sysrq_key_op sysrq_poweroff_op = {
.enable_mask = SYSRQ_ENABLE_BOOT,
};
static int pm_sysrq_init(void)
static int __init pm_sysrq_init(void)
{
register_sysrq_key('o', &sysrq_poweroff_op);
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment