properly __init-annotate pm_sysrq_init()

This is used only as argument to subsys_initcall().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
This commit is contained in:
Jan Beulich 2012-09-10 12:05:18 +00:00 committed by Rafael J. Wysocki
parent 4955070974
commit bbdc18a3fb
1 changed files with 1 additions and 1 deletions

View File

@ -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;