Commit 8c6e3657 authored by Xiu Jianfeng's avatar Xiu Jianfeng Committed by Catalin Marinas

ARM64: reloc_test: add __init/__exit annotations to module init/exit funcs

Add missing __init/__exit annotations to module init/exit funcs.
Signed-off-by: default avatarXiu Jianfeng <xiujianfeng@huawei.com>
Link: https://lore.kernel.org/r/20220911034747.132098-1-xiujianfeng@huawei.comSigned-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent b9dd04a2
......@@ -48,7 +48,7 @@ static struct {
{ "R_AARCH64_PREL16", relative_data16, (u64)&sym64_rel },
};
static int reloc_test_init(void)
static int __init reloc_test_init(void)
{
int i;
......@@ -67,7 +67,7 @@ static int reloc_test_init(void)
return 0;
}
static void reloc_test_exit(void)
static void __exit reloc_test_exit(void)
{
}
......
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