livepatch: annotate klp_init() with __init

module_init() function should be marked __init.

[jkosina@suse.cz: remove overly verbose changelog]
Signed-off-by: Minfei Huang <mnfhuang@gmail.com>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Minfei Huang 2015-05-22 22:26:29 +08:00 committed by Jiri Kosina
parent 8cdd043ab3
commit 26029d88ad

View File

@ -990,7 +990,7 @@ static struct notifier_block klp_module_nb = {
.priority = INT_MIN+1, /* called late but before ftrace notifier */
};
static int klp_init(void)
static int __init klp_init(void)
{
int ret;