um: mmaper: add __exit annotations to module exit funcs

Add missing __exit annotations to module exit funcs.

Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
Xiu Jianfeng 2022-09-11 10:52:38 +08:00 committed by Richard Weinberger
parent 98639412fe
commit 7c5c8faeab
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ static int __init mmapper_init(void)
return 0;
}
static void mmapper_exit(void)
static void __exit mmapper_exit(void)
{
misc_deregister(&mmapper_dev);
}